Click to See Complete Forum and Search --> : php using dso surport on apache on unix


Anon
05-09-2001, 05:05 AM
hi all

well i have folowed the instuction in the apache manualto in stall the correct modules in the httpd so when i con figure with apxs as it steds in the php manual i get an eroor message saying can not find apxs path but i have direct to the path ahhhhhhhhh

help need

brandonschnell
05-09-2001, 09:28 AM
1) make sure dso support is enabled in apache. "/usr/sbin/httpd -l" should list mod_so.c as a built in module.

2) if you're using rpms to install apache, don't forget to install the apache-devel rpm

try the --with-apxs compile option but don't specify a path. if apache is setup correctly the php defaults wil be fine on most boxes.

Anon
05-09-2001, 01:49 PM
FYI, apxs is located under /usr/bin, so you could specify something like this --with-apxs=/usr/bin/apxs. This should work as well.

Anon
05-11-2001, 02:01 AM
I've used Apache 1.3.19 with DSO enabled.
And I've already used mod_perl.so, mod_layout.so, mod_ssl.so as DSO modules.

Now I tried to compile fresh released PHP 4.0.5 as DSO module too:

./configure \
--prefix=/usr/php \
--with-mysql=/usr/mysql \
--with-apxs=/usr/apache/bin/apxs \
--enable-track-vars \
--with-config-file-path=/usr/php/conf

but have always errors:
--with-apxs=/usr/apache/bin/apxs: not found
--enable-track-vars: not found

what's wrong, where is the errors? All pathes correct and exists, checked, apxs exists also... Of course all components already installed and worked, apxs and so on...

I've explore entire source directory for php 4.0.5 but not found 'enable-track-vars' in 'configure' script.

Should I use older version of php ?