hi all,
dhirendra again
Friends i follow the steps of install file come with php-4.0.3pl1.All checking are ok.
I am using RedHat Linux-6.2 (Professional pack),apache rpm ,mysql rpm but want to configure php with tar file , i downloaded php-4.0.3pl1.tar.gz from php.net then untart the php tar file in /usr/local/src/ folder
follow the step of install file.
in configuration i used
#./configure --with-apxs=/usr/sbin/apxs --with-config-file-path=/etc/httpd --with-system-regex --enable-magic-quotes --enable-sysvsem --enable-sysvshm --enable-ftp --enable-trans-sid --enable-calendar --enable-sockets --with-mysql=/usr
#make
#make install
in the above three i will not found any single error all things are ok
but when i try to start apache again an error will display
Starting http: Syntax error on line 872 of /etc/httpd/conf/httpd.conf:
cannot load /etc/httpd/lib/apache/libphp4.so into server:/etc/httpd/lib/apche/libphp4.so:cannot open shared object file:No such file or directory[failed]
then i go to line 872 and change the path of libphp4.so form lib/apache/libphp4.so to /usr/lib/apache/libphp4.so
and again try to restart the apache but apache not resposnd
then i remvoe whole things and try to configure again this thime i follow the same steps as descriobe earlier but this time i use
#./configure --with-apxs=/usr/sbin/apxs --with-config-file-path=/etc/httpd --enable-ftp --enable-trans-sid --enable-calendar --enable-sockets
#make
#make install
it was work fine
then i try to many things like
#./configure --with-apxs=/usr/sbin/apxs --with-config-file-path=/etc/httpd
#make
#make install
it was also work
i just confused what happend
Kindly help to overcome from this problem
And tell something about how i run perl script with mysql support.
Waiting for ur response
Regards
Dhirendra