473,242 Members | 1,683 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,242 software developers and data experts.

Trouble Installing PHP & MYSQL

I am experiencing problems when installing PHP5/MYSQL.
I did
./configure --with-mysql=/usr/local/mysql --disable-libxml
--with-zlib-dir=/home/frank/zlib-1.2.2

make
make install

The build process did not report any errors.

Now, I cannot find libphp5.so, which I would like to register with
Apache.

Can somebody tell me what went wrong ?

Thanks for your help !

Jul 17 '05 #1
4 1856
I'm also having problems finding the apache module for PHP.
I'm doing the following calls

./configure --prefix=/local/web --enable-module=so
make
make install

Mark

<fr**********@gmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
I am experiencing problems when installing PHP5/MYSQL.
I did
./configure --with-mysql=/usr/local/mysql --disable-libxml
--with-zlib-dir=/home/frank/zlib-1.2.2

make
make install

The build process did not report any errors.

Now, I cannot find libphp5.so, which I would like to register with
Apache.

Can somebody tell me what went wrong ?

Thanks for your help !

Jul 17 '05 #2
I found out that one has to build apache from source and then do the
php build against the apache source build, using the --with-apxs2
option.
Like this:
../configure --with-mysql=/usr/local/mysql --disable-libxml
--with-zlib-dir=/home/frank/zlib-1.2.2
--with-apxs2=/usr/local/apache2/bin/apxs --with-gd
After "make" and "make install" the shared lib (eg. libphp5.so) will be
placed in apache's module directory and will be loaded by apache when
doing a LoadModule statement in httpd.conf.
All this said, I still have trouble to build with jpeg enabled... Any
help on this is appreciated.

Jul 17 '05 #3
<fr**********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I found out that one has to build apache from source and then do the
php build against the apache source build, using the --with-apxs2
option.
Like this:
./configure --with-mysql=/usr/local/mysql --disable-libxml
--with-zlib-dir=/home/frank/zlib-1.2.2
--with-apxs2=/usr/local/apache2/bin/apxs --with-gd
After "make" and "make install" the shared lib (eg. libphp5.so) will be
placed in apache's module directory and will be loaded by apache when
doing a LoadModule statement in httpd.conf.
All this said, I still have trouble to build with jpeg enabled... Any
help on this is appreciated.


Well did you successfully build GD w/ jepg support? That has to be
working first. The GD readme was always enough for me to get it to compile.
Then recompile PHP and you should be okay.
-Joe
Jul 17 '05 #4
Got it finally working.
That is my configure command line:
../configure --with-mysql=/usr/local/mysql
--with-zlib-dir=/home/frank/zlib-1.2.2
--with-apxs2=/usr/local/apache2/bin/apxs --with-gd --with-jpeg-dir
--with-png-dir
I had to copy the jpeg header files (like jpeglib.h) to
/usr/local/include in order to have it built.

Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Penn Markham | last post by:
Hello all, I am writing a script where I need to use the system() function to call htpasswd. I can do this just fine on the command line...works great (see attached file, test.php). When my...
1
by: jason | last post by:
I have various small html websites on my windows server 2003 pc, these function quite happily from directories under D:\websites via ports 81, 8081, 8091, 8082 and of course there is the dafault...
1
by: Kerry Shetline | last post by:
I've successfully installed MySQL and the Perl DBI module, but when I try to install DBD::mysql, it keeps failing like this: -------------------- (from the CPAN shell) --------------------- .......
0
by: Decio Alexandre | last post by:
------=_NextPart_000_003E_01C34D83.A02DB370 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi!! I had once installed PHPTriad, a package which...
4
by: 21novembre | last post by:
Hi all, I got a quite strange problem when I tried to setup a database backup shell. I put it this way: "bin/mysqldump --opt --user=xxx --password=xxx DB > DB.bak" However, error 1045 came to...
3
by: Mark Nelson | last post by:
Hi all, I'm installing Apache 2.2, PHP 5.04, and mySQL 4.0.21 on a Solaris 8 machine using prebuilt binaries from sunfreeware.com. My apache install went smoothly - the only thing I'm having...
1
by: manish deshpande | last post by:
Hi, When i'm installing MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm by the following command: rpm -i MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm the following error is being shown: ...
1
by: =?iso-8859-1?B?RXJpYyBM83Bleg==?= | last post by:
Hello Guys! I just installed MySQL Community Server 5.0 onto my computer, which is running Red Hat 8.0 and it works fine, but I was trying to install the MySQL GUI Tools (Query Browser, MySQL...
2
by: sbettadpur | last post by:
Hiiii > > I have installed mysql , Active perl 5.10 successfully but > Template-GD: ppm install Template-GD > PerlMagick: ppm install PerlMagick > SOAP-Lite: ppm install SOAP-Lite > ...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.