PHP+Apache suddenly not working

PHP+Apache suddenly not working

am 27.10.2009 14:18:25 von Jason Lixfeld

I have no doubt that this is due to an update that was done on my
system at some point, but unfortunately I can't pinpoint where. The
upshot is that PHP is completely unresponsive for me when run from
Apache and I'm not sure where to look. I recognize that this isn't an
apache support list. This message is being cc'd there too.

The system is FreeBSD 6.1-RELEASE-p15. PHP 5.2.11 from ports.

The only error I get in my php log is this:

[27-Oct-2009 13:05:00] PHP Fatal error: Call to undefined function
preg_match() in /usr/home/foo/public_html/cerb4/libs/devblocks/libs/
zend_framework/Zend/Cache/Backend/File.php on line 125

Now I've checked and double checked that pcre support is built into
php. I'm not sure if there's a command that I can run in php to show
all the extensions that are installed or something, but I'm a
bazillion percent sure that it's there, so I don't believe that's the
cause of the error. I'm reasonably sure of this because the
preg_match error thrown every minute when a cron job runs, I have
a .php that calls phpinfo() that shows a blank screen when hit from a
browser.

My problem is that I don't know how to troubleshoot this.

I can seem to run PHP from the CLI just fine, so does this look more
like an apache issue or perhaps some php module or extension that
talks to apache?

[root@ricky /]# php
phpinfo();
?>
phpinfo()
PHP Version => 5.2.11

System => FreeBSD ricky.arionetworks.ca 6.1-RELEASE-p15 FreeBSD 6.1-
RELEASE-p15 #0: Sat Mar 31 11:43:34 EDT 2007
jlixfeld@ricky.arionetworks.ca:/usr/src/sys/amd64/compile/GE NERIC amd64
Build Date => Oct 26 2009 15:38:06
Configure Command => './configure' '--with-layout=GNU' '--with-
config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-
libxml' '--with-libxml-dir=/usr/local' '--enable-reflection' '--
program-prefix=' '--enable-fastcgi' '--with-apxs2=/usr/local/sbin/
apxs' '--with-regex=php' '--with-zend-vm=CALL' '--disable-ipv6' '--
prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/
info/' '--build=amd64-portbld-freebsd6.1'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/etc
Loaded Configuration File => /usr/local/etc/php.ini
Scan this dir for additional .ini files => /usr/local/etc/php
additional .ini files parsed => /usr/local/etc/php/extensions.ini
....
....
....
etc
....

[root@ricky /]# pkg_info | grep php5
php5-5.2.11_1 PHP Scripting Language
php5-ctype-5.2.11_1 The ctype shared extension for php
php5-dom-5.2.11_1 The dom shared extension for php
php5-extensions-1.3 A "meta-port" to install PHP extensions
php5-filter-5.2.11_1 The filter shared extension for php
php5-gd-5.2.11_1 The gd shared extension for php
php5-gettext-5.2.11_1 The gettext shared extension for php
php5-iconv-5.2.11_1 The iconv shared extension for php
php5-imap-5.2.11_1 The imap shared extension for php
php5-ldap-5.2.11_1 The ldap shared extension for php
php5-mbstring-5.2.11_1 The mbstring shared extension for php
php5-mysql-5.2.11_1 The mysql shared extension for php
php5-openssl-5.2.11_1 The openssl shared extension for php
php5-pcre-5.2.11_1 The pcre shared extension for php
php5-pdo-5.2.11_1 The pdo shared extension for php
php5-pdo_sqlite-5.2.11_1 The pdo_sqlite shared extension for php
php5-posix-5.2.11_1 The posix shared extension for php
php5-session-5.2.11_1 The session shared extension for php
php5-simplexml-5.2.11_1 The simplexml shared extension for php
php5-spl-5.2.11_1 The spl shared extension for php
php5-sqlite-5.2.11_1 The sqlite shared extension for php
php5-tokenizer-5.2.11_1 The tokenizer shared extension for php
php5-xml-5.2.11_1 The xml shared extension for php
php5-xmlreader-5.2.11_1 The xmlreader shared extension for php
php5-xmlwriter-5.2.11_1 The xmlwriter shared extension for php
[root@ricky /]#

Any ideas for a completely ignorant, non-developer type?

Thanks in advance.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP+Apache suddenly not working

am 27.10.2009 14:24:01 von Phpster

On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld
wrote:
> I have no doubt that this is due to an update that was done on my system =
at
> some point, but unfortunately I can't pinpoint where. =A0The upshot is th=
at
> PHP is completely unresponsive for me when run from Apache and I'm not su=
re
> where to look. =A0I recognize that this isn't an apache support list. =A0=
This
> message is being cc'd there too.
>
> The system is FreeBSD 6.1-RELEASE-p15. =A0PHP 5.2.11 from ports.
>
> The only error I get in my php log is this:
>
> [27-Oct-2009 13:05:00] PHP Fatal error: =A0Call to undefined function
> preg_match() in
> /usr/home/foo/public_html/cerb4/libs/devblocks/libs/zend_fra mework/Zend/C=
ache/Backend/File.php
> on line 125
>
> Now I've checked and double checked that pcre support is built into php.
> =A0I'm not sure if there's a command that I can run in php to show all th=
e
> extensions that are installed or something, but I'm a bazillion percent s=
ure
> that it's there, so I don't believe that's the cause of the error. =A0I'm
> reasonably sure of this because the preg_match error thrown every minute
> when a cron job runs, I have a .php that calls phpinfo() that shows a bla=
nk
> screen when hit from a browser.
>
> My problem is that I don't know how to troubleshoot this.
>
> I can seem to run PHP from the CLI just fine, so does this look more like=
an
> apache issue or perhaps some php module or extension that talks to apache=
?
>
> [root@ricky /]# php
> > phpinfo();
> ?>
> phpinfo()
> PHP Version =3D> 5.2.11
>
> System =3D> FreeBSD ricky.arionetworks.ca 6.1-RELEASE-p15 FreeBSD
> 6.1-RELEASE-p15 #0: Sat Mar 31 11:43:34 EDT 2007
> jlixfeld@ricky.arionetworks.ca:/usr/src/sys/amd64/compile/GE NERIC amd64
> Build Date =3D> Oct 26 2009 15:38:06
> Configure Command =3D> =A0'./configure' =A0'--with-layout=3DGNU'
> '--with-config-file-scan-dir=3D/usr/local/etc/php' '--disable-all'
> '--enable-libxml' '--with-libxml-dir=3D/usr/local' '--enable-reflection'
> '--program-prefix=3D' '--enable-fastcgi' '--with-apxs2=3D/usr/local/sbin/=
apxs'
> '--with-regex=3Dphp' '--with-zend-vm=3DCALL' '--disable-ipv6'
> '--prefix=3D/usr/local' '--mandir=3D/usr/local/man' '--infodir=3D/usr/loc=
al/info/'
> '--build=3Damd64-portbld-freebsd6.1'
> Server API =3D> Command Line Interface
> Virtual Directory Support =3D> disabled
> Configuration File (php.ini) Path =3D> /usr/local/etc
> Loaded Configuration File =3D> /usr/local/etc/php.ini
> Scan this dir for additional .ini files =3D> /usr/local/etc/php
> additional .ini files parsed =3D> /usr/local/etc/php/extensions.ini
> ...
> ...
> ...
> etc
> ...
>
> [root@ricky /]# pkg_info | grep php5
> php5-5.2.11_1 =A0 =A0 =A0 PHP Scripting Language
> php5-ctype-5.2.11_1 The ctype shared extension for php
> php5-dom-5.2.11_1 =A0 The dom shared extension for php
> php5-extensions-1.3 A "meta-port" to install PHP extensions
> php5-filter-5.2.11_1 The filter shared extension for php
> php5-gd-5.2.11_1 =A0 =A0The gd shared extension for php
> php5-gettext-5.2.11_1 The gettext shared extension for php
> php5-iconv-5.2.11_1 The iconv shared extension for php
> php5-imap-5.2.11_1 =A0The imap shared extension for php
> php5-ldap-5.2.11_1 =A0The ldap shared extension for php
> php5-mbstring-5.2.11_1 The mbstring shared extension for php
> php5-mysql-5.2.11_1 The mysql shared extension for php
> php5-openssl-5.2.11_1 The openssl shared extension for php
> php5-pcre-5.2.11_1 =A0The pcre shared extension for php
> php5-pdo-5.2.11_1 =A0 The pdo shared extension for php
> php5-pdo_sqlite-5.2.11_1 The pdo_sqlite shared extension for php
> php5-posix-5.2.11_1 The posix shared extension for php
> php5-session-5.2.11_1 The session shared extension for php
> php5-simplexml-5.2.11_1 The simplexml shared extension for php
> php5-spl-5.2.11_1 =A0 The spl shared extension for php
> php5-sqlite-5.2.11_1 The sqlite shared extension for php
> php5-tokenizer-5.2.11_1 The tokenizer shared extension for php
> php5-xml-5.2.11_1 =A0 The xml shared extension for php
> php5-xmlreader-5.2.11_1 The xmlreader shared extension for php
> php5-xmlwriter-5.2.11_1 The xmlwriter shared extension for php
> [root@ricky /]#
>
> Any ideas for a completely ignorant, non-developer type?
>
> Thanks in advance.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

create a small file with this code



which will tell you want modules are enabled in php

--=20

Bastien

Cat, the other other white meat

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP+Apache suddenly not working

am 27.10.2009 14:33:54 von Shawn McKenzie

Jason Lixfeld wrote:
> I have no doubt that this is due to an update that was done on my system
> at some point, but unfortunately I can't pinpoint where. The upshot is
> that PHP is completely unresponsive for me when run from Apache and I'm
> not sure where to look. I recognize that this isn't an apache support
> list. This message is being cc'd there too.


Are you sure you selected the Apache mod in make config?

1. go to /usr/ports/lang/php5
2. make deinstall
3. make config
4. select APACHE MODULES
5. select ok
6. make clean install

--
Thanks!
-Shawn
http://www.spidean.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP+Apache suddenly not working

am 27.10.2009 14:46:37 von Jason Lixfeld

On 2009-10-27, at 9:33 AM, Shawn McKenzie wrote:

> Jason Lixfeld wrote:
>> I have no doubt that this is due to an update that was done on my
>> system
>> at some point, but unfortunately I can't pinpoint where. The
>> upshot is
>> that PHP is completely unresponsive for me when run from Apache and
>> I'm
>> not sure where to look. I recognize that this isn't an apache
>> support
>> list. This message is being cc'd there too.
>
>
> Are you sure you selected the Apache mod in make config?
>
> 1. go to /usr/ports/lang/php5
> 2. make deinstall
> 3. make config
> 4. select APACHE MODULES
> 5. select ok
> 6. make clean install

Yup. Checked and double checked. It's there. Will do the make
deinstall ; make clean install again though.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP+Apache suddenly not working

am 27.10.2009 14:51:18 von Ashley Sheridan

--=-+tRH+rIFTMt/v5r37TDv
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Tue, 2009-10-27 at 09:24 -0400, Bastien Koert wrote:

> On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld
> wrote:
> > I have no doubt that this is due to an update that was done on my system at
> > some point, but unfortunately I can't pinpoint where. The upshot is that
> > PHP is completely unresponsive for me when run from Apache and I'm not sure
> > where to look. I recognize that this isn't an apache support list. This
> > message is being cc'd there too.
> >
> > The system is FreeBSD 6.1-RELEASE-p15. PHP 5.2.11 from ports.
> >
> > The only error I get in my php log is this:
> >
> > [27-Oct-2009 13:05:00] PHP Fatal error: Call to undefined function
> > preg_match() in
> > /usr/home/foo/public_html/cerb4/libs/devblocks/libs/zend_fra mework/Zend/Cache/Backend/File.php
> > on line 125
> >
> > Now I've checked and double checked that pcre support is built into php.
> > I'm not sure if there's a command that I can run in php to show all the
> > extensions that are installed or something, but I'm a bazillion percent sure
> > that it's there, so I don't believe that's the cause of the error. I'm
> > reasonably sure of this because the preg_match error thrown every minute
> > when a cron job runs, I have a .php that calls phpinfo() that shows a blank
> > screen when hit from a browser.
> >
> > My problem is that I don't know how to troubleshoot this.
> >
> > I can seem to run PHP from the CLI just fine, so does this look more like an
> > apache issue or perhaps some php module or extension that talks to apache?
> >
> > [root@ricky /]# php
> > > > phpinfo();
> > ?>
> > phpinfo()
> > PHP Version => 5.2.11
> >
> > System => FreeBSD ricky.arionetworks.ca 6.1-RELEASE-p15 FreeBSD
> > 6.1-RELEASE-p15 #0: Sat Mar 31 11:43:34 EDT 2007
> > jlixfeld@ricky.arionetworks.ca:/usr/src/sys/amd64/compile/GE NERIC amd64
> > Build Date => Oct 26 2009 15:38:06
> > Configure Command => './configure' '--with-layout=GNU'
> > '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all'
> > '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection'
> > '--program-prefix=' '--enable-fastcgi' '--with-apxs2=/usr/local/sbin/apxs'
> > '--with-regex=php' '--with-zend-vm=CALL' '--disable-ipv6'
> > '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/'
> > '--build=amd64-portbld-freebsd6.1'
> > Server API => Command Line Interface
> > Virtual Directory Support => disabled
> > Configuration File (php.ini) Path => /usr/local/etc
> > Loaded Configuration File => /usr/local/etc/php.ini
> > Scan this dir for additional .ini files => /usr/local/etc/php
> > additional .ini files parsed => /usr/local/etc/php/extensions.ini
> > ...
> > ...
> > ...
> > etc
> > ...
> >
> > [root@ricky /]# pkg_info | grep php5
> > php5-5.2.11_1 PHP Scripting Language
> > php5-ctype-5.2.11_1 The ctype shared extension for php
> > php5-dom-5.2.11_1 The dom shared extension for php
> > php5-extensions-1.3 A "meta-port" to install PHP extensions
> > php5-filter-5.2.11_1 The filter shared extension for php
> > php5-gd-5.2.11_1 The gd shared extension for php
> > php5-gettext-5.2.11_1 The gettext shared extension for php
> > php5-iconv-5.2.11_1 The iconv shared extension for php
> > php5-imap-5.2.11_1 The imap shared extension for php
> > php5-ldap-5.2.11_1 The ldap shared extension for php
> > php5-mbstring-5.2.11_1 The mbstring shared extension for php
> > php5-mysql-5.2.11_1 The mysql shared extension for php
> > php5-openssl-5.2.11_1 The openssl shared extension for php
> > php5-pcre-5.2.11_1 The pcre shared extension for php
> > php5-pdo-5.2.11_1 The pdo shared extension for php
> > php5-pdo_sqlite-5.2.11_1 The pdo_sqlite shared extension for php
> > php5-posix-5.2.11_1 The posix shared extension for php
> > php5-session-5.2.11_1 The session shared extension for php
> > php5-simplexml-5.2.11_1 The simplexml shared extension for php
> > php5-spl-5.2.11_1 The spl shared extension for php
> > php5-sqlite-5.2.11_1 The sqlite shared extension for php
> > php5-tokenizer-5.2.11_1 The tokenizer shared extension for php
> > php5-xml-5.2.11_1 The xml shared extension for php
> > php5-xmlreader-5.2.11_1 The xmlreader shared extension for php
> > php5-xmlwriter-5.2.11_1 The xmlwriter shared extension for php
> > [root@ricky /]#
> >
> > Any ideas for a completely ignorant, non-developer type?
> >
> > Thanks in advance.
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> create a small file with this code
>
>
>
> which will tell you want modules are enabled in php
>
> --
>
> Bastien
>
> Cat, the other other white meat
>

He already mentioned that phpinfo() fails.

Thanks,
Ash
http://www.ashleysheridan.co.uk



--=-+tRH+rIFTMt/v5r37TDv--

Re: PHP+Apache suddenly not working

am 27.10.2009 15:59:16 von List Manager

Ashley Sheridan wrote:
> On Tue, 2009-10-27 at 09:24 -0400, Bastien Koert wrote:
>
>> On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld
>> wrote:
>>> I have no doubt that this is due to an update that was done on my system at
>>> some point, but unfortunately I can't pinpoint where. The upshot is that
>>> PHP is completely unresponsive for me when run from Apache and I'm not sure
>>> where to look. I recognize that this isn't an apache support list. This
>>> message is being cc'd there too.
>>>
>>> The system is FreeBSD 6.1-RELEASE-p15. PHP 5.2.11 from ports.
>>>
>>> The only error I get in my php log is this:
>>>
>>> [27-Oct-2009 13:05:00] PHP Fatal error: Call to undefined function
>>> preg_match() in
>>> /usr/home/foo/public_html/cerb4/libs/devblocks/libs/zend_fra mework/Zend/Cache/Backend/File.php
>>> on line 125
>>>
>>> Now I've checked and double checked that pcre support is built into php.
>>> I'm not sure if there's a command that I can run in php to show all the
>>> extensions that are installed or something, but I'm a bazillion percent sure
>>> that it's there, so I don't believe that's the cause of the error. I'm
>>> reasonably sure of this because the preg_match error thrown every minute
>>> when a cron job runs, I have a .php that calls phpinfo() that shows a blank
>>> screen when hit from a browser.
>>>
>>> My problem is that I don't know how to troubleshoot this.
>>>
>>> I can seem to run PHP from the CLI just fine, so does this look more like an
>>> apache issue or perhaps some php module or extension that talks to apache?
>>>
>>> [root@ricky /]# php
>>> >>> phpinfo();
>>> ?>
>>> phpinfo()
>>> PHP Version => 5.2.11
>>>
>>> System => FreeBSD ricky.arionetworks.ca 6.1-RELEASE-p15 FreeBSD
>>> 6.1-RELEASE-p15 #0: Sat Mar 31 11:43:34 EDT 2007
>>> jlixfeld@ricky.arionetworks.ca:/usr/src/sys/amd64/compile/GE NERIC amd64
>>> Build Date => Oct 26 2009 15:38:06
>>> Configure Command => './configure' '--with-layout=GNU'
>>> '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all'
>>> '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection'
>>> '--program-prefix=' '--enable-fastcgi' '--with-apxs2=/usr/local/sbin/apxs'
>>> '--with-regex=php' '--with-zend-vm=CALL' '--disable-ipv6'
>>> '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/'
>>> '--build=amd64-portbld-freebsd6.1'
>>> Server API => Command Line Interface
>>> Virtual Directory Support => disabled
>>> Configuration File (php.ini) Path => /usr/local/etc
>>> Loaded Configuration File => /usr/local/etc/php.ini
>>> Scan this dir for additional .ini files => /usr/local/etc/php
>>> additional .ini files parsed => /usr/local/etc/php/extensions.ini
>>> ...
>>> ...
>>> ...
>>> etc
>>> ...
>>>
>>> [root@ricky /]# pkg_info | grep php5
>>> php5-5.2.11_1 PHP Scripting Language
>>> php5-ctype-5.2.11_1 The ctype shared extension for php
>>> php5-dom-5.2.11_1 The dom shared extension for php
>>> php5-extensions-1.3 A "meta-port" to install PHP extensions
>>> php5-filter-5.2.11_1 The filter shared extension for php
>>> php5-gd-5.2.11_1 The gd shared extension for php
>>> php5-gettext-5.2.11_1 The gettext shared extension for php
>>> php5-iconv-5.2.11_1 The iconv shared extension for php
>>> php5-imap-5.2.11_1 The imap shared extension for php
>>> php5-ldap-5.2.11_1 The ldap shared extension for php
>>> php5-mbstring-5.2.11_1 The mbstring shared extension for php
>>> php5-mysql-5.2.11_1 The mysql shared extension for php
>>> php5-openssl-5.2.11_1 The openssl shared extension for php
>>> php5-pcre-5.2.11_1 The pcre shared extension for php
>>> php5-pdo-5.2.11_1 The pdo shared extension for php
>>> php5-pdo_sqlite-5.2.11_1 The pdo_sqlite shared extension for php
>>> php5-posix-5.2.11_1 The posix shared extension for php
>>> php5-session-5.2.11_1 The session shared extension for php
>>> php5-simplexml-5.2.11_1 The simplexml shared extension for php
>>> php5-spl-5.2.11_1 The spl shared extension for php
>>> php5-sqlite-5.2.11_1 The sqlite shared extension for php
>>> php5-tokenizer-5.2.11_1 The tokenizer shared extension for php
>>> php5-xml-5.2.11_1 The xml shared extension for php
>>> php5-xmlreader-5.2.11_1 The xmlreader shared extension for php
>>> php5-xmlwriter-5.2.11_1 The xmlwriter shared extension for php
>>> [root@ricky /]#
>>>
>>> Any ideas for a completely ignorant, non-developer type?
>>>
>>> Thanks in advance.
>>>
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>>
>> create a small file with this code
>>
>>
>>
>> which will tell you want modules are enabled in php
>>
>> --
>>
>> Bastien
>>
>> Cat, the other other white meat
>>
>
> He already mentioned that phpinfo() fails.
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>
>

No, he mentioned that the "page" that he navigates to fails.

My best guess would be that he is getting a fatal error, like he mentioned
above, which is preventing the output of the phpinfo() to be displayed.

He needs a stripped down file that has nothing but this in it.

error_reporting(E_ALL);
ini_set('display_errors', 1);
phpinfo();
?>

If that still doesn't work, the op needs to set the error level and error
reporting options in his php.ini so it will display the errors in the browser.

Jim

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: PHP+Apache suddenly not working

am 27.10.2009 17:16:20 von jenai tomaka

--_12229997-324f-4473-bbd7-001cb5857136_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hi all=2C

=20

If the basic functions of php not work=2C maybe the extension for php5 or 4=
are disabled=2C or the library is missing=2C sometimes apache does not sho=
w the erros for missing library=2C or yet=2C the library for php4 or 5 are =
both on=2C or they crash

Yuri Yarlei.
www.yuriyarlei.net (under construction)
Programmer PHP=2C JAVA=2C CSS=2C PostregreSQL=3B
Today PHP=2C tomorrow Java=2C after the world.
Kyou wa PHP=2C ashita wa Java=2C sono ato sekai desu.



=20
> Date: Tue=2C 27 Oct 2009 07:59:16 -0700
> From: lists@cmsws.com
> To: ash@ashleysheridan.co.uk
> CC: phpster@gmail.com=3B jason-lists.php@lixfeld.ca=3B php-general@lists.=
php.net
> Subject: Re: [PHP] PHP+Apache suddenly not working
>=20
> Ashley Sheridan wrote:
> > On Tue=2C 2009-10-27 at 09:24 -0400=2C Bastien Koert wrote:
> >=20
> >> On Tue=2C Oct 27=2C 2009 at 9:18 AM=2C Jason Lixfeld
> >> wrote:
> >>> I have no doubt that this is due to an update that was done on my sys=
tem at
> >>> some point=2C but unfortunately I can't pinpoint where. The upshot is=
that
> >>> PHP is completely unresponsive for me when run from Apache and I'm no=
t sure
> >>> where to look. I recognize that this isn't an apache support list. Th=
is
> >>> message is being cc'd there too.
> >>>
> >>> The system is FreeBSD 6.1-RELEASE-p15. PHP 5.2.11 from ports.
> >>>
> >>> The only error I get in my php log is this:
> >>>
> >>> [27-Oct-2009 13:05:00] PHP Fatal error: Call to undefined function
> >>> preg_match() in
> >>> /usr/home/foo/public_html/cerb4/libs/devblocks/libs/zend_fra mework/Ze=
nd/Cache/Backend/File.php
> >>> on line 125
> >>>
> >>> Now I've checked and double checked that pcre support is built into p=
hp.
> >>> I'm not sure if there's a command that I can run in php to show all t=
he
> >>> extensions that are installed or something=2C but I'm a bazillion per=
cent sure
> >>> that it's there=2C so I don't believe that's the cause of the error. =
I'm
> >>> reasonably sure of this because the preg_match error thrown every min=
ute
> >>> when a cron job runs=2C I have a .php that calls phpinfo() that shows=
a blank
> >>> screen when hit from a browser.
> >>>
> >>> My problem is that I don't know how to troubleshoot this.
> >>>
> >>> I can seem to run PHP from the CLI just fine=2C so does this look mor=
e like an
> >>> apache issue or perhaps some php module or extension that talks to ap=
ache?
> >>>
> >>> [root@ricky /]# php
> >>> > >>> phpinfo()=3B
> >>> ?>
> >>> phpinfo()
> >>> PHP Version =3D> 5.2.11
> >>>
> >>> System =3D> FreeBSD ricky.arionetworks.ca 6.1-RELEASE-p15 FreeBSD
> >>> 6.1-RELEASE-p15 #0: Sat Mar 31 11:43:34 EDT 2007
> >>> jlixfeld@ricky.arionetworks.ca:/usr/src/sys/amd64/compile/GE NERIC amd=
64
> >>> Build Date =3D> Oct 26 2009 15:38:06
> >>> Configure Command =3D> './configure' '--with-layout=3DGNU'
> >>> '--with-config-file-scan-dir=3D/usr/local/etc/php' '--disable-all'
> >>> '--enable-libxml' '--with-libxml-dir=3D/usr/local' '--enable-reflecti=
on'
> >>> '--program-prefix=3D' '--enable-fastcgi' '--with-apxs2=3D/usr/local/s=
bin/apxs'
> >>> '--with-regex=3Dphp' '--with-zend-vm=3DCALL' '--disable-ipv6'
> >>> '--prefix=3D/usr/local' '--mandir=3D/usr/local/man' '--infodir=3D/usr=
/local/info/'
> >>> '--build=3Damd64-portbld-freebsd6.1'
> >>> Server API =3D> Command Line Interface
> >>> Virtual Directory Support =3D> disabled
> >>> Configuration File (php.ini) Path =3D> /usr/local/etc
> >>> Loaded Configuration File =3D> /usr/local/etc/php.ini
> >>> Scan this dir for additional .ini files =3D> /usr/local/etc/php
> >>> additional .ini files parsed =3D> /usr/local/etc/php/extensions.ini
> >>> ...
> >>> ...
> >>> ...
> >>> etc
> >>> ...
> >>>
> >>> [root@ricky /]# pkg_info | grep php5
> >>> php5-5.2.11_1 PHP Scripting Language
> >>> php5-ctype-5.2.11_1 The ctype shared extension for php
> >>> php5-dom-5.2.11_1 The dom shared extension for php
> >>> php5-extensions-1.3 A "meta-port" to install PHP extensions
> >>> php5-filter-5.2.11_1 The filter shared extension for php
> >>> php5-gd-5.2.11_1 The gd shared extension for php
> >>> php5-gettext-5.2.11_1 The gettext shared extension for php
> >>> php5-iconv-5.2.11_1 The iconv shared extension for php
> >>> php5-imap-5.2.11_1 The imap shared extension for php
> >>> php5-ldap-5.2.11_1 The ldap shared extension for php
> >>> php5-mbstring-5.2.11_1 The mbstring shared extension for php
> >>> php5-mysql-5.2.11_1 The mysql shared extension for php
> >>> php5-openssl-5.2.11_1 The openssl shared extension for php
> >>> php5-pcre-5.2.11_1 The pcre shared extension for php
> >>> php5-pdo-5.2.11_1 The pdo shared extension for php
> >>> php5-pdo_sqlite-5.2.11_1 The pdo_sqlite shared extension for php
> >>> php5-posix-5.2.11_1 The posix shared extension for php
> >>> php5-session-5.2.11_1 The session shared extension for php
> >>> php5-simplexml-5.2.11_1 The simplexml shared extension for php
> >>> php5-spl-5.2.11_1 The spl shared extension for php
> >>> php5-sqlite-5.2.11_1 The sqlite shared extension for php
> >>> php5-tokenizer-5.2.11_1 The tokenizer shared extension for php
> >>> php5-xml-5.2.11_1 The xml shared extension for php
> >>> php5-xmlreader-5.2.11_1 The xmlreader shared extension for php
> >>> php5-xmlwriter-5.2.11_1 The xmlwriter shared extension for php
> >>> [root@ricky /]#
> >>>
> >>> Any ideas for a completely ignorant=2C non-developer type?
> >>>
> >>> Thanks in advance.
> >>>
> >>> --
> >>> PHP General Mailing List (http://www.php.net/)
> >>> To unsubscribe=2C visit: http://www.php.net/unsub.php
> >>>
> >>>
> >> create a small file with this code
> >>
> >>
> >>
> >> which will tell you want modules are enabled in php
> >>
> >> --=20
> >>
> >> Bastien
> >>
> >> Cat=2C the other other white meat
> >>
> >=20
> > He already mentioned that phpinfo() fails.
> >=20
> > Thanks=2C
> > Ash
> > http://www.ashleysheridan.co.uk
> >=20
> >=20
> >=20
>=20
> No=2C he mentioned that the "page" that he navigates to fails.
>=20
> My best guess would be that he is getting a fatal error=2C like he mentio=
ned
> above=2C which is preventing the output of the phpinfo() to be displayed.
>=20
> He needs a stripped down file that has nothing but this in it.
>=20
> > error_reporting(E_ALL)=3B
> ini_set('display_errors'=2C 1)=3B
> phpinfo()=3B
> ?>
>=20
> If that still doesn't work=2C the op needs to set the error level and err=
or
> reporting options in his php.ini so it will display the errors in the bro=
wser.
>=20
> Jim
>=20
> --=20
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe=2C visit: http://www.php.net/unsub.php
>=20
=20
____________________________________________________________ _____
Acesse o Portal MSN do seu celular e se mantenha sempre atualizado. Clique =
aqui.
http://www.windowslive.com.br/celular/home.asp?utm_source=3D MSN_Hotmail&utm=
_medium=3DTagline&utm_campaign=3DMobileServices200908=

--_12229997-324f-4473-bbd7-001cb5857136_--

RE: PHP+Apache suddenly not working

am 27.10.2009 17:16:21 von jenai tomaka

--_57456c88-525d-4551-9cf5-12f08afec892_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hi all=2C

=20

If the basic functions of php not work=2C maybe the extension for php5 or 4=
are disabled=2C or the library is missing=2C sometimes apache does not sho=
w the erros for missing library=2C or yet=2C the library for php4 or 5 are =
both on=2C or they crash

Yuri Yarlei.
www.yuriyarlei.net (under construction)
Programmer PHP=2C JAVA=2C CSS=2C PostregreSQL=3B
Today PHP=2C tomorrow Java=2C after the world.
Kyou wa PHP=2C ashita wa Java=2C sono ato sekai desu.



=20
> Date: Tue=2C 27 Oct 2009 07:59:16 -0700
> From: lists@cmsws.com
> To: ash@ashleysheridan.co.uk
> CC: phpster@gmail.com=3B jason-lists.php@lixfeld.ca=3B php-general@lists.=
php.net
> Subject: Re: [PHP] PHP+Apache suddenly not working
>=20
> Ashley Sheridan wrote:
> > On Tue=2C 2009-10-27 at 09:24 -0400=2C Bastien Koert wrote:
> >=20
> >> On Tue=2C Oct 27=2C 2009 at 9:18 AM=2C Jason Lixfeld
> >> wrote:
> >>> I have no doubt that this is due to an update that was done on my sys=
tem at
> >>> some point=2C but unfortunately I can't pinpoint where. The upshot is=
that
> >>> PHP is completely unresponsive for me when run from Apache and I'm no=
t sure
> >>> where to look. I recognize that this isn't an apache support list. Th=
is
> >>> message is being cc'd there too.
> >>>
> >>> The system is FreeBSD 6.1-RELEASE-p15. PHP 5.2.11 from ports.
> >>>
> >>> The only error I get in my php log is this:
> >>>
> >>> [27-Oct-2009 13:05:00] PHP Fatal error: Call to undefined function
> >>> preg_match() in
> >>> /usr/home/foo/public_html/cerb4/libs/devblocks/libs/zend_fra mework/Ze=
nd/Cache/Backend/File.php
> >>> on line 125
> >>>
> >>> Now I've checked and double checked that pcre support is built into p=
hp.
> >>> I'm not sure if there's a command that I can run in php to show all t=
he
> >>> extensions that are installed or something=2C but I'm a bazillion per=
cent sure
> >>> that it's there=2C so I don't believe that's the cause of the error. =
I'm
> >>> reasonably sure of this because the preg_match error thrown every min=
ute
> >>> when a cron job runs=2C I have a .php that calls phpinfo() that shows=
a blank
> >>> screen when hit from a browser.
> >>>
> >>> My problem is that I don't know how to troubleshoot this.
> >>>
> >>> I can seem to run PHP from the CLI just fine=2C so does this look mor=
e like an
> >>> apache issue or perhaps some php module or extension that talks to ap=
ache?
> >>>
> >>> [root@ricky /]# php
> >>> > >>> phpinfo()=3B
> >>> ?>
> >>> phpinfo()
> >>> PHP Version =3D> 5.2.11
> >>>
> >>> System =3D> FreeBSD ricky.arionetworks.ca 6.1-RELEASE-p15 FreeBSD
> >>> 6.1-RELEASE-p15 #0: Sat Mar 31 11:43:34 EDT 2007
> >>> jlixfeld@ricky.arionetworks.ca:/usr/src/sys/amd64/compile/GE NERIC amd=
64
> >>> Build Date =3D> Oct 26 2009 15:38:06
> >>> Configure Command =3D> './configure' '--with-layout=3DGNU'
> >>> '--with-config-file-scan-dir=3D/usr/local/etc/php' '--disable-all'
> >>> '--enable-libxml' '--with-libxml-dir=3D/usr/local' '--enable-reflecti=
on'
> >>> '--program-prefix=3D' '--enable-fastcgi' '--with-apxs2=3D/usr/local/s=
bin/apxs'
> >>> '--with-regex=3Dphp' '--with-zend-vm=3DCALL' '--disable-ipv6'
> >>> '--prefix=3D/usr/local' '--mandir=3D/usr/local/man' '--infodir=3D/usr=
/local/info/'
> >>> '--build=3Damd64-portbld-freebsd6.1'
> >>> Server API =3D> Command Line Interface
> >>> Virtual Directory Support =3D> disabled
> >>> Configuration File (php.ini) Path =3D> /usr/local/etc
> >>> Loaded Configuration File =3D> /usr/local/etc/php.ini
> >>> Scan this dir for additional .ini files =3D> /usr/local/etc/php
> >>> additional .ini files parsed =3D> /usr/local/etc/php/extensions.ini
> >>> ...
> >>> ...
> >>> ...
> >>> etc
> >>> ...
> >>>
> >>> [root@ricky /]# pkg_info | grep php5
> >>> php5-5.2.11_1 PHP Scripting Language
> >>> php5-ctype-5.2.11_1 The ctype shared extension for php
> >>> php5-dom-5.2.11_1 The dom shared extension for php
> >>> php5-extensions-1.3 A "meta-port" to install PHP extensions
> >>> php5-filter-5.2.11_1 The filter shared extension for php
> >>> php5-gd-5.2.11_1 The gd shared extension for php
> >>> php5-gettext-5.2.11_1 The gettext shared extension for php
> >>> php5-iconv-5.2.11_1 The iconv shared extension for php
> >>> php5-imap-5.2.11_1 The imap shared extension for php
> >>> php5-ldap-5.2.11_1 The ldap shared extension for php
> >>> php5-mbstring-5.2.11_1 The mbstring shared extension for php
> >>> php5-mysql-5.2.11_1 The mysql shared extension for php
> >>> php5-openssl-5.2.11_1 The openssl shared extension for php
> >>> php5-pcre-5.2.11_1 The pcre shared extension for php
> >>> php5-pdo-5.2.11_1 The pdo shared extension for php
> >>> php5-pdo_sqlite-5.2.11_1 The pdo_sqlite shared extension for php
> >>> php5-posix-5.2.11_1 The posix shared extension for php
> >>> php5-session-5.2.11_1 The session shared extension for php
> >>> php5-simplexml-5.2.11_1 The simplexml shared extension for php
> >>> php5-spl-5.2.11_1 The spl shared extension for php
> >>> php5-sqlite-5.2.11_1 The sqlite shared extension for php
> >>> php5-tokenizer-5.2.11_1 The tokenizer shared extension for php
> >>> php5-xml-5.2.11_1 The xml shared extension for php
> >>> php5-xmlreader-5.2.11_1 The xmlreader shared extension for php
> >>> php5-xmlwriter-5.2.11_1 The xmlwriter shared extension for php
> >>> [root@ricky /]#
> >>>
> >>> Any ideas for a completely ignorant=2C non-developer type?
> >>>
> >>> Thanks in advance.
> >>>
> >>> --
> >>> PHP General Mailing List (http://www.php.net/)
> >>> To unsubscribe=2C visit: http://www.php.net/unsub.php
> >>>
> >>>
> >> create a small file with this code
> >>
> >>
> >>
> >> which will tell you want modules are enabled in php
> >>
> >> --=20
> >>
> >> Bastien
> >>
> >> Cat=2C the other other white meat
> >>
> >=20
> > He already mentioned that phpinfo() fails.
> >=20
> > Thanks=2C
> > Ash
> > http://www.ashleysheridan.co.uk
> >=20
> >=20
> >=20
>=20
> No=2C he mentioned that the "page" that he navigates to fails.
>=20
> My best guess would be that he is getting a fatal error=2C like he mentio=
ned
> above=2C which is preventing the output of the phpinfo() to be displayed.
>=20
> He needs a stripped down file that has nothing but this in it.
>=20
> > error_reporting(E_ALL)=3B
> ini_set('display_errors'=2C 1)=3B
> phpinfo()=3B
> ?>
>=20
> If that still doesn't work=2C the op needs to set the error level and err=
or
> reporting options in his php.ini so it will display the errors in the bro=
wser.
>=20
> Jim
>=20
> --=20
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe=2C visit: http://www.php.net/unsub.php
>=20
=20
____________________________________________________________ _____
Voc=EA sabia que pode acessar o Messenger direto do seu Hotmail? Descubra c=
omo!
http://www.microsoft.com/brasil/windows/windowslive/products /tutoriais.aspx=

--_57456c88-525d-4551-9cf5-12f08afec892_--

RE: PHP+Apache suddenly not working

am 27.10.2009 17:20:45 von Ashley Sheridan

--=-GlcHBQ4KJo2UaDtMmWDe
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Tue, 2009-10-27 at 19:16 +0300, Yuri Yarlei wrote:

> Hi all,
>
>
>
> If the basic functions of php not work, maybe the extension for php5 or 4 are disabled, or the library is missing, sometimes apache does not show the erros for missing library, or yet, the library for php4 or 5 are both on, or they crash
>
> Yuri Yarlei.
> www.yuriyarlei.net (under construction)
> Programmer PHP, JAVA, CSS, PostregreSQL;
> Today PHP, tomorrow Java, after the world.
> Kyou wa PHP, ashita wa Java, sono ato sekai desu.
>
>
>
>
> > Date: Tue, 27 Oct 2009 07:59:16 -0700
> > From: lists@cmsws.com
> > To: ash@ashleysheridan.co.uk
> > CC: phpster@gmail.com; jason-lists.php@lixfeld.ca; php-general@lists.php.net
> > Subject: Re: [PHP] PHP+Apache suddenly not working
> >
> > Ashley Sheridan wrote:
> > > On Tue, 2009-10-27 at 09:24 -0400, Bastien Koert wrote:
> > >
> > >> On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld
> > >> wrote:
> > >>> I have no doubt that this is due to an update that was done on my system at
> > >>> some point, but unfortunately I can't pinpoint where. The upshot is that
> > >>> PHP is completely unresponsive for me when run from Apache and I'm not sure
> > >>> where to look. I recognize that this isn't an apache support list. This
> > >>> message is being cc'd there too.
> > >>>
> > >>> The system is FreeBSD 6.1-RELEASE-p15. PHP 5.2.11 from ports.
> > >>>
> > >>> The only error I get in my php log is this:
> > >>>
> > >>> [27-Oct-2009 13:05:00] PHP Fatal error: Call to undefined function
> > >>> preg_match() in
> > >>> /usr/home/foo/public_html/cerb4/libs/devblocks/libs/zend_fra mework/Zend/Cache/Backend/File.php
> > >>> on line 125
> > >>>
> > >>> Now I've checked and double checked that pcre support is built into php.
> > >>> I'm not sure if there's a command that I can run in php to show all the
> > >>> extensions that are installed or something, but I'm a bazillion percent sure
> > >>> that it's there, so I don't believe that's the cause of the error. I'm
> > >>> reasonably sure of this because the preg_match error thrown every minute
> > >>> when a cron job runs, I have a .php that calls phpinfo() that shows a blank
> > >>> screen when hit from a browser.
> > >>>
> > >>> My problem is that I don't know how to troubleshoot this.
> > >>>
> > >>> I can seem to run PHP from the CLI just fine, so does this look more like an
> > >>> apache issue or perhaps some php module or extension that talks to apache?
> > >>>
> > >>> [root@ricky /]# php
> > >>> > > >>> phpinfo();
> > >>> ?>
> > >>> phpinfo()
> > >>> PHP Version => 5.2.11
> > >>>
> > >>> System => FreeBSD ricky.arionetworks.ca 6.1-RELEASE-p15 FreeBSD
> > >>> 6.1-RELEASE-p15 #0: Sat Mar 31 11:43:34 EDT 2007
> > >>> jlixfeld@ricky.arionetworks.ca:/usr/src/sys/amd64/compile/GE NERIC amd64
> > >>> Build Date => Oct 26 2009 15:38:06
> > >>> Configure Command => './configure' '--with-layout=GNU'
> > >>> '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all'
> > >>> '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection'
> > >>> '--program-prefix=' '--enable-fastcgi' '--with-apxs2=/usr/local/sbin/apxs'
> > >>> '--with-regex=php' '--with-zend-vm=CALL' '--disable-ipv6'
> > >>> '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/'
> > >>> '--build=amd64-portbld-freebsd6.1'
> > >>> Server API => Command Line Interface
> > >>> Virtual Directory Support => disabled
> > >>> Configuration File (php.ini) Path => /usr/local/etc
> > >>> Loaded Configuration File => /usr/local/etc/php.ini
> > >>> Scan this dir for additional .ini files => /usr/local/etc/php
> > >>> additional .ini files parsed => /usr/local/etc/php/extensions.ini
> > >>> ...
> > >>> ...
> > >>> ...
> > >>> etc
> > >>> ...
> > >>>
> > >>> [root@ricky /]# pkg_info | grep php5
> > >>> php5-5.2.11_1 PHP Scripting Language
> > >>> php5-ctype-5.2.11_1 The ctype shared extension for php
> > >>> php5-dom-5.2.11_1 The dom shared extension for php
> > >>> php5-extensions-1.3 A "meta-port" to install PHP extensions
> > >>> php5-filter-5.2.11_1 The filter shared extension for php
> > >>> php5-gd-5.2.11_1 The gd shared extension for php
> > >>> php5-gettext-5.2.11_1 The gettext shared extension for php
> > >>> php5-iconv-5.2.11_1 The iconv shared extension for php
> > >>> php5-imap-5.2.11_1 The imap shared extension for php
> > >>> php5-ldap-5.2.11_1 The ldap shared extension for php
> > >>> php5-mbstring-5.2.11_1 The mbstring shared extension for php
> > >>> php5-mysql-5.2.11_1 The mysql shared extension for php
> > >>> php5-openssl-5.2.11_1 The openssl shared extension for php
> > >>> php5-pcre-5.2.11_1 The pcre shared extension for php
> > >>> php5-pdo-5.2.11_1 The pdo shared extension for php
> > >>> php5-pdo_sqlite-5.2.11_1 The pdo_sqlite shared extension for php
> > >>> php5-posix-5.2.11_1 The posix shared extension for php
> > >>> php5-session-5.2.11_1 The session shared extension for php
> > >>> php5-simplexml-5.2.11_1 The simplexml shared extension for php
> > >>> php5-spl-5.2.11_1 The spl shared extension for php
> > >>> php5-sqlite-5.2.11_1 The sqlite shared extension for php
> > >>> php5-tokenizer-5.2.11_1 The tokenizer shared extension for php
> > >>> php5-xml-5.2.11_1 The xml shared extension for php
> > >>> php5-xmlreader-5.2.11_1 The xmlreader shared extension for php
> > >>> php5-xmlwriter-5.2.11_1 The xmlwriter shared extension for php
> > >>> [root@ricky /]#
> > >>>
> > >>> Any ideas for a completely ignorant, non-developer type?
> > >>>
> > >>> Thanks in advance.
> > >>>
> > >>> --
> > >>> PHP General Mailing List (http://www.php.net/)
> > >>> To unsubscribe, visit: http://www.php.net/unsub.php
> > >>>
> > >>>
> > >> create a small file with this code
> > >>
> > >>
> > >>
> > >> which will tell you want modules are enabled in php
> > >>
> > >> --
> > >>
> > >> Bastien
> > >>
> > >> Cat, the other other white meat
> > >>
> > >
> > > He already mentioned that phpinfo() fails.
> > >
> > > Thanks,
> > > Ash
> > > http://www.ashleysheridan.co.uk
> > >
> > >
> > >
> >
> > No, he mentioned that the "page" that he navigates to fails.
> >
> > My best guess would be that he is getting a fatal error, like he mentioned
> > above, which is preventing the output of the phpinfo() to be displayed.
> >
> > He needs a stripped down file that has nothing but this in it.
> >
> > > > error_reporting(E_ALL);
> > ini_set('display_errors', 1);
> > phpinfo();
> > ?>
> >
> > If that still doesn't work, the op needs to set the error level and error
> > reporting options in his php.ini so it will display the errors in the browser.
> >
> > Jim
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> ____________________________________________________________ _____
> Acesse o Portal MSN do seu celular e se mantenha sempre atualizado. Clique aqui.
> http://www.windowslive.com.br/celular/home.asp?utm_source=MS N_Hotmail&utm_medium=Tagline&utm_campaign=MobileServices2009 08


Just a thought, but have you tested that Apache is even working
correctly? What happens if you try to navigate to a plain-jane .html
page?

I only say this, because it's possible that PHP is fully working, but
Apache isn't, and won't start because of some issue with the phplib5.so
(or phplib4.so) that is causing Apache to not start up.

Thanks,
Ash
http://www.ashleysheridan.co.uk



--=-GlcHBQ4KJo2UaDtMmWDe--

RE: PHP+Apache suddenly not working

am 27.10.2009 17:39:21 von jenai tomaka

--_fcd2beed-61f4-4fd8-8c10-737d74682480_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Ash=2C

I think the apache is working=2C because he recieve the error "[27-Oct-2009=
13:05:00] PHP Fatal error: Call to undefined function"=2C if apache are n=
ot started he will receive some error about apache starting or someting lik=
e that.

Yuri Yarlei.
http://www.yuriyarlei.net.net (under construction)
Programmer PHP=2C JAVA=2C CSS=2C PostregreSQL=3B
Today PHP=2C tomorrow Java=2C after the world.
Kyou wa PHP=2C ashita wa Java=2C sono ato sekai desu.



=20
> From: ash@ashleysheridan.co.uk
> To: gargarinbr@hotmail.com
> CC: lists@cmsws.com=3B phpster@gmail.com=3B jason-lists.php@lixfeld.ca=3B=
php-general@lists.php.net
> Date: Tue=2C 27 Oct 2009 16:20:45 +0000
> Subject: RE: [PHP] PHP+Apache suddenly not working
>=20
> On Tue=2C 2009-10-27 at 19:16 +0300=2C Yuri Yarlei wrote:
>=20
> > Hi all=2C
> >=20
> >=20
> >=20
> > If the basic functions of php not work=2C maybe the extension for php5 =
or 4 are disabled=2C or the library is missing=2C sometimes apache does not=
show the erros for missing library=2C or yet=2C the library for php4 or 5 =
are both on=2C or they crash
> >=20
> > Yuri Yarlei.
> > www.yuriyarlei.net (under construction)
> > Programmer PHP=2C JAVA=2C CSS=2C PostregreSQL=3B
> > Today PHP=2C tomorrow Java=2C after the world.
> > Kyou wa PHP=2C ashita wa Java=2C sono ato sekai desu.
> >=20
> >=20
> >=20
> >=20
> > > Date: Tue=2C 27 Oct 2009 07:59:16 -0700
> > > From: lists@cmsws.com
> > > To: ash@ashleysheridan.co.uk
> > > CC: phpster@gmail.com=3B jason-lists.php@lixfeld.ca=3B php-general@li=
sts.php.net
> > > Subject: Re: [PHP] PHP+Apache suddenly not working
> > >=20
> > > Ashley Sheridan wrote:
> > > > On Tue=2C 2009-10-27 at 09:24 -0400=2C Bastien Koert wrote:
> > > >=20
> > > >> On Tue=2C Oct 27=2C 2009 at 9:18 AM=2C Jason Lixfeld
> > > >> wrote:
> > > >>> I have no doubt that this is due to an update that was done on my=
system at
> > > >>> some point=2C but unfortunately I can't pinpoint where. The upsho=
t is that
> > > >>> PHP is completely unresponsive for me when run from Apache and I'=
m not sure
> > > >>> where to look. I recognize that this isn't an apache support list=
.. This
> > > >>> message is being cc'd there too.
> > > >>>
> > > >>> The system is FreeBSD 6.1-RELEASE-p15. PHP 5.2.11 from ports.
> > > >>>
> > > >>> The only error I get in my php log is this:
> > > >>>
> > > >>> [27-Oct-2009 13:05:00] PHP Fatal error: Call to undefined functio=
n
> > > >>> preg_match() in
> > > >>> /usr/home/foo/public_html/cerb4/libs/devblocks/libs/zend_fra mewor=
k/Zend/Cache/Backend/File.php
> > > >>> on line 125
> > > >>>
> > > >>> Now I've checked and double checked that pcre support is built in=
to php.
> > > >>> I'm not sure if there's a command that I can run in php to show a=
ll the
> > > >>> extensions that are installed or something=2C but I'm a bazillion=
percent sure
> > > >>> that it's there=2C so I don't believe that's the cause of the err=
or. I'm
> > > >>> reasonably sure of this because the preg_match error thrown every=
minute
> > > >>> when a cron job runs=2C I have a .php that calls phpinfo() that s=
hows a blank
> > > >>> screen when hit from a browser.
> > > >>>
> > > >>> My problem is that I don't know how to troubleshoot this.
> > > >>>
> > > >>> I can seem to run PHP from the CLI just fine=2C so does this look=
more like an
> > > >>> apache issue or perhaps some php module or extension that talks t=
o apache?
> > > >>>
> > > >>> [root@ricky /]# php
> > > >>> > > > >>> phpinfo()=3B
> > > >>> ?>
> > > >>> phpinfo()
> > > >>> PHP Version =3D> 5.2.11
> > > >>>
> > > >>> System =3D> FreeBSD ricky.arionetworks.ca 6.1-RELEASE-p15 FreeBSD
> > > >>> 6.1-RELEASE-p15 #0: Sat Mar 31 11:43:34 EDT 2007
> > > >>> jlixfeld@ricky.arionetworks.ca:/usr/src/sys/amd64/compile/GE NERIC=
amd64
> > > >>> Build Date =3D> Oct 26 2009 15:38:06
> > > >>> Configure Command =3D> './configure' '--with-layout=3DGNU'
> > > >>> '--with-config-file-scan-dir=3D/usr/local/etc/php' '--disable-all=
'
> > > >>> '--enable-libxml' '--with-libxml-dir=3D/usr/local' '--enable-refl=
ection'
> > > >>> '--program-prefix=3D' '--enable-fastcgi' '--with-apxs2=3D/usr/loc=
al/sbin/apxs'
> > > >>> '--with-regex=3Dphp' '--with-zend-vm=3DCALL' '--disable-ipv6'
> > > >>> '--prefix=3D/usr/local' '--mandir=3D/usr/local/man' '--infodir=3D=
/usr/local/info/'
> > > >>> '--build=3Damd64-portbld-freebsd6.1'
> > > >>> Server API =3D> Command Line Interface
> > > >>> Virtual Directory Support =3D> disabled
> > > >>> Configuration File (php.ini) Path =3D> /usr/local/etc
> > > >>> Loaded Configuration File =3D> /usr/local/etc/php.ini
> > > >>> Scan this dir for additional .ini files =3D> /usr/local/etc/php
> > > >>> additional .ini files parsed =3D> /usr/local/etc/php/extensions.i=
ni
> > > >>> ...
> > > >>> ...
> > > >>> ...
> > > >>> etc
> > > >>> ...
> > > >>>
> > > >>> [root@ricky /]# pkg_info | grep php5
> > > >>> php5-5.2.11_1 PHP Scripting Language
> > > >>> php5-ctype-5.2.11_1 The ctype shared extension for php
> > > >>> php5-dom-5.2.11_1 The dom shared extension for php
> > > >>> php5-extensions-1.3 A "meta-port" to install PHP extensions
> > > >>> php5-filter-5.2.11_1 The filter shared extension for php
> > > >>> php5-gd-5.2.11_1 The gd shared extension for php
> > > >>> php5-gettext-5.2.11_1 The gettext shared extension for php
> > > >>> php5-iconv-5.2.11_1 The iconv shared extension for php
> > > >>> php5-imap-5.2.11_1 The imap shared extension for php
> > > >>> php5-ldap-5.2.11_1 The ldap shared extension for php
> > > >>> php5-mbstring-5.2.11_1 The mbstring shared extension for php
> > > >>> php5-mysql-5.2.11_1 The mysql shared extension for php
> > > >>> php5-openssl-5.2.11_1 The openssl shared extension for php
> > > >>> php5-pcre-5.2.11_1 The pcre shared extension for php
> > > >>> php5-pdo-5.2.11_1 The pdo shared extension for php
> > > >>> php5-pdo_sqlite-5.2.11_1 The pdo_sqlite shared extension for php
> > > >>> php5-posix-5.2.11_1 The posix shared extension for php
> > > >>> php5-session-5.2.11_1 The session shared extension for php
> > > >>> php5-simplexml-5.2.11_1 The simplexml shared extension for php
> > > >>> php5-spl-5.2.11_1 The spl shared extension for php
> > > >>> php5-sqlite-5.2.11_1 The sqlite shared extension for php
> > > >>> php5-tokenizer-5.2.11_1 The tokenizer shared extension for php
> > > >>> php5-xml-5.2.11_1 The xml shared extension for php
> > > >>> php5-xmlreader-5.2.11_1 The xmlreader shared extension for php
> > > >>> php5-xmlwriter-5.2.11_1 The xmlwriter shared extension for php
> > > >>> [root@ricky /]#
> > > >>>
> > > >>> Any ideas for a completely ignorant=2C non-developer type?
> > > >>>
> > > >>> Thanks in advance.
> > > >>>
> > > >>> --
> > > >>> PHP General Mailing List (http://www.php.net/)
> > > >>> To unsubscribe=2C visit: http://www.php.net/unsub.php
> > > >>>
> > > >>>
> > > >> create a small file with this code
> > > >>
> > > >>
> > > >>
> > > >> which will tell you want modules are enabled in php
> > > >>
> > > >> --=20
> > > >>
> > > >> Bastien
> > > >>
> > > >> Cat=2C the other other white meat
> > > >>
> > > >=20
> > > > He already mentioned that phpinfo() fails.
> > > >=20
> > > > Thanks=2C
> > > > Ash
> > > > http://www.ashleysheridan.co.uk
> > > >=20
> > > >=20
> > > >=20
> > >=20
> > > No=2C he mentioned that the "page" that he navigates to fails.
> > >=20
> > > My best guess would be that he is getting a fatal error=2C like he me=
ntioned
> > > above=2C which is preventing the output of the phpinfo() to be displa=
yed.
> > >=20
> > > He needs a stripped down file that has nothing but this in it.
> > >=20
> > > > > > error_reporting(E_ALL)=3B
> > > ini_set('display_errors'=2C 1)=3B
> > > phpinfo()=3B
> > > ?>
> > >=20
> > > If that still doesn't work=2C the op needs to set the error level and=
error
> > > reporting options in his php.ini so it will display the errors in the=
browser.
> > >=20
> > > Jim
> > >=20
> > > --=20
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe=2C visit: http://www.php.net/unsub.php
> > >=20
> >=20
> > ____________________________________________________________ _____
> > Acesse o Portal MSN do seu celular e se mantenha sempre atualizado. Cli=
que aqui.
> > http://www.windowslive.com.br/celular/home.asp?utm_source=3D MSN_Hotmail=
&utm_medium=3DTagline&utm_campaign=3DMobileServices200908
>=20
>=20
> Just a thought=2C but have you tested that Apache is even working
> correctly? What happens if you try to navigate to a plain-jane .html
> page?
>=20
> I only say this=2C because it's possible that PHP is fully working=2C but
> Apache isn't=2C and won't start because of some issue with the phplib5.so
> (or phplib4.so) that is causing Apache to not start up.
>=20
> Thanks=2C
> Ash
> http://www.ashleysheridan.co.uk
>=20
>=20
=20
____________________________________________________________ _____
Voc=EA sabia que pode acessar o Messenger direto do seu Hotmail? Descubra c=
omo!
http://www.microsoft.com/brasil/windows/windowslive/products /tutoriais.aspx=

--_fcd2beed-61f4-4fd8-8c10-737d74682480_--

Re: PHP+Apache suddenly not working

am 27.10.2009 20:00:29 von Jason Lixfeld

Thanks for the replies guys.

As a few have eluded to, Apache is working fine.

What I've done is completely uninstalled, made clean from source, =20
reinstalled and verified that the options were such that apache =20
support is built into PHP and Apache. Here's what I've found:

Apache seems to be compiled with the proper PHP support:

blackbox:~ jlixfeld$ telnet ricky 80
Trying 172.16.17.2...
Connected to ricky.arionetworks.ca.
Escape character is '^]'.
HEAD / HTTP/1.0

HTTP/1.1 200 OK
Date: Tue, 27 Oct 2009 13:38:53 GMT
Server: Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.7e-p1 DAV/2 =20=

PHP/5.2.11 with Suhosin-Patch
Last-Modified: Sat, 20 Nov 2004 20:16:24 GMT
ETag: "c77455-2c-3e9564c23b600"
Accept-Ranges: bytes
Content-Length: 44
Connection: close
Content-Type: text/html

Connection closed by foreign host.
blackbox:~ jlixfeld$

PHP seems to want to compile against the proper Apache libs as can be =20=

seen from the make | grep -i apache and the make install:

checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... =20=

yes
checking for Apache 1.x (hooks) module support via DSO through APXS... =20=

no
checking for Apache 1.x (hooks) module support... no
checking whether to enable Apache charset compatibility option... no
checking whether to force Apache CGI redirect... no
checking for chosen SAPI module... apache2handler

[root@ricky /usr/ports/lang/php5]# make install
===3D> Installing for php5-5.2.11_1
===3D> php5-5.2.11_1 depends on file: /usr/local/sbin/apxs - found
===3D> php5-5.2.11_1 depends on executable: pkg-config - found
===3D> php5-5.2.11_1 depends on shared library: xml2.5 - found
===3D> Generating temporary packing list
===3D> Checking if lang/php5 already installed
"Makefile", line 565: warning: duplicate script for target "main/=20
internal_functions.lo" ignored
Installing PHP SAPI module: apache2handler
/usr/local/share/apache22/build/instdso.sh SH_LIBTOOL=3D'/usr/local/=20
share/apr/build-1/libtool' libphp5.la /usr/local/libexec/apache22
/usr/local/share/apr/build-1/libtool --mode=3Dinstall cp libphp5.la =
/usr/=20
local/libexec/apache22/
libtool: install: cp .libs/libphp5.so /usr/local/libexec/apache22/=20
libphp5.so
libtool: install: cp .libs/libphp5.lai /usr/local/libexec/apache22/=20
libphp5.la
libtool: install: warning: remember to run `libtool --finish /usr/=20
ports/lang/php5/work/php-5.2.11/libs'
chmod 755 /usr/local/libexec/apache22/libphp5.so
[activating module `php5' in /usr/local/etc/apache22/httpd.conf]
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PHP CGI binary: /usr/local/bin/
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/man/man1/
page: phpize.1
page: php-config.1
************************************************************ ***

Make sure index.php is part of your DirectoryIndex.

You should add the following to your Apache configuration file:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

************************************************************ ***
===3D> Compressing manual pages for php5-5.2.11_1
===3D> Registering installation for php5-5.2.11_1
===3D> SECURITY REPORT:
This port has installed the following files which may act as =20
network
servers and may therefore pose a remote security risk to the =20
system.
/usr/local/libexec/apache22/libphp5.so
/usr/local/bin/php
/usr/local/bin/php-cgi

If there are vulnerabilities in these programs there may be a =20
security
risk to the system. FreeBSD makes no guarantee about the =20
security of
ports included in the Ports Collection. Please type 'make =20
deinstall'
to deinstall the port if this is a concern.

For more information, and contact details about the security
status of this software, see the following webpage:
http://www.php.net/
[root@ricky /usr/ports/lang/php5]# ls -al /usr/local/libexec/apache22/=20=

libphp5.so
-rwxr-xr-x 1 root wheel 3114971 Oct 27 14:51 /usr/local/libexec/=20
apache22/libphp5.so
[root@ricky /usr/ports/lang/php5]#

Someone mentioned setting the php.ini up so it could display errors in =20=

the browser. How do I go about that? My php.ini looks like this. I =20=

don't see errors in there when I try to hit the phpinfo file with the =20=

browser, but I do get the error I reported in the OP which is a =20
cronjob running wget on something that complains about pcre (which is =20=

a mystery in and of itself considering pcre is a installed properly =20
too :|

[root@ricky /usr/local/www]# cat /usr/local/etc/php.ini | egrep -i =20
'error|log' | grep -v "^;"
error_reporting =3D E_ALL
display_errors =3D On
display_startup_errors =3D On
log_errors =3D On
log_errors_max_len =3D 1024
ignore_repeated_errors =3D Off
track_errors =3D Off
html_errors =3D On
error_log =3D /tmp/php.log
[Syslog]
define_syslog_variables =3D Off
pgsql.log_notice =3D 0
sybase.min_error_severity =3D 10
mssql.min_error_severity =3D 10
[root@ricky /usr/local/www]#


On 2009-10-27, at 12:39 PM, Yuri Yarlei wrote:

>
> Ash,
>
> I think the apache is working, because he recieve the error "[27-=20
> Oct-2009 13:05:00] PHP Fatal error: Call to undefined function", if =20=

> apache are not started he will receive some error about apache =20
> starting or someting like that.
>
> Yuri Yarlei.
> http://www.yuriyarlei.net.net (under construction)
> Programmer PHP, JAVA, CSS, PostregreSQL;
> Today PHP, tomorrow Java, after the world.
> Kyou wa PHP, ashita wa Java, sono ato sekai desu.
>
>
>
>
>> From: ash@ashleysheridan.co.uk
>> To: gargarinbr@hotmail.com
>> CC: lists@cmsws.com; phpster@gmail.com; jason-lists.php@lixfeld.ca; =
php-general@lists.php.net
>> Date: Tue, 27 Oct 2009 16:20:45 +0000
>> Subject: RE: [PHP] PHP+Apache suddenly not working
>>
>> On Tue, 2009-10-27 at 19:16 +0300, Yuri Yarlei wrote:
>>
>>> Hi all,
>>>
>>>
>>>
>>> If the basic functions of php not work, maybe the extension for =20
>>> php5 or 4 are disabled, or the library is missing, sometimes =20
>>> apache does not show the erros for missing library, or yet, the =20
>>> library for php4 or 5 are both on, or they crash
>>>
>>> Yuri Yarlei.
>>> www.yuriyarlei.net (under construction)
>>> Programmer PHP, JAVA, CSS, PostregreSQL;
>>> Today PHP, tomorrow Java, after the world.
>>> Kyou wa PHP, ashita wa Java, sono ato sekai desu.
>>>
>>>
>>>
>>>
>>>> Date: Tue, 27 Oct 2009 07:59:16 -0700
>>>> From: lists@cmsws.com
>>>> To: ash@ashleysheridan.co.uk
>>>> CC: phpster@gmail.com; jason-lists.php@lixfeld.ca; =
php-general@lists.php.net
>>>> Subject: Re: [PHP] PHP+Apache suddenly not working
>>>>
>>>> Ashley Sheridan wrote:
>>>>> On Tue, 2009-10-27 at 09:24 -0400, Bastien Koert wrote:
>>>>>
>>>>>> On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld
>>>>>> wrote:
>>>>>>> I have no doubt that this is due to an update that was done on =20=

>>>>>>> my system at
>>>>>>> some point, but unfortunately I can't pinpoint where. The =20
>>>>>>> upshot is that
>>>>>>> PHP is completely unresponsive for me when run from Apache and =20=

>>>>>>> I'm not sure
>>>>>>> where to look. I recognize that this isn't an apache support =20
>>>>>>> list. This
>>>>>>> message is being cc'd there too.
>>>>>>>
>>>>>>> The system is FreeBSD 6.1-RELEASE-p15. PHP 5.2.11 from ports.
>>>>>>>
>>>>>>> The only error I get in my php log is this:
>>>>>>>
>>>>>>> [27-Oct-2009 13:05:00] PHP Fatal error: Call to undefined =20
>>>>>>> function
>>>>>>> preg_match() in
>>>>>>> /usr/home/foo/public_html/cerb4/libs/devblocks/libs/=20
>>>>>>> zend_framework/Zend/Cache/Backend/File.php
>>>>>>> on line 125
>>>>>>>
>>>>>>> Now I've checked and double checked that pcre support is built =20=

>>>>>>> into php.
>>>>>>> I'm not sure if there's a command that I can run in php to =20
>>>>>>> show all the
>>>>>>> extensions that are installed or something, but I'm a =20
>>>>>>> bazillion percent sure
>>>>>>> that it's there, so I don't believe that's the cause of the =20
>>>>>>> error. I'm
>>>>>>> reasonably sure of this because the preg_match error thrown =20
>>>>>>> every minute
>>>>>>> when a cron job runs, I have a .php that calls phpinfo() that =20=

>>>>>>> shows a blank
>>>>>>> screen when hit from a browser.
>>>>>>>
>>>>>>> My problem is that I don't know how to troubleshoot this.
>>>>>>>
>>>>>>> I can seem to run PHP from the CLI just fine, so does this =20
>>>>>>> look more like an
>>>>>>> apache issue or perhaps some php module or extension that =20
>>>>>>> talks to apache?
>>>>>>>
>>>>>>> [root@ricky /]# php
>>>>>>> >>>>>>> phpinfo();
>>>>>>> ?>
>>>>>>> phpinfo()
>>>>>>> PHP Version =3D> 5.2.11
>>>>>>>
>>>>>>> System =3D> FreeBSD ricky.arionetworks.ca 6.1-RELEASE-p15 =
FreeBSD
>>>>>>> 6.1-RELEASE-p15 #0: Sat Mar 31 11:43:34 EDT 2007
>>>>>>> jlixfeld@ricky.arionetworks.ca:/usr/src/sys/amd64/compile/=2 0
>>>>>>> GENERIC amd64
>>>>>>> Build Date =3D> Oct 26 2009 15:38:06
>>>>>>> Configure Command =3D> './configure' '--with-layout=3DGNU'
>>>>>>> '--with-config-file-scan-dir=3D/usr/local/etc/php' =
'--disable-all'
>>>>>>> '--enable-libxml' '--with-libxml-dir=3D/usr/local' '--enable-=20
>>>>>>> reflection'
>>>>>>> '--program-prefix=3D' '--enable-fastcgi' '--with-apxs2=3D/usr/=20=

>>>>>>> local/sbin/apxs'
>>>>>>> '--with-regex=3Dphp' '--with-zend-vm=3DCALL' '--disable-ipv6'
>>>>>>> '--prefix=3D/usr/local' '--mandir=3D/usr/local/man' '--infodir=3D/=
=20
>>>>>>> usr/local/info/'
>>>>>>> '--build=3Damd64-portbld-freebsd6.1'
>>>>>>> Server API =3D> Command Line Interface
>>>>>>> Virtual Directory Support =3D> disabled
>>>>>>> Configuration File (php.ini) Path =3D> /usr/local/etc
>>>>>>> Loaded Configuration File =3D> /usr/local/etc/php.ini
>>>>>>> Scan this dir for additional .ini files =3D> /usr/local/etc/php
>>>>>>> additional .ini files parsed =3D> /usr/local/etc/php/=20
>>>>>>> extensions.ini
>>>>>>> ...
>>>>>>> ...
>>>>>>> ...
>>>>>>> etc
>>>>>>> ...
>>>>>>>
>>>>>>> [root@ricky /]# pkg_info | grep php5
>>>>>>> php5-5.2.11_1 PHP Scripting Language
>>>>>>> php5-ctype-5.2.11_1 The ctype shared extension for php
>>>>>>> php5-dom-5.2.11_1 The dom shared extension for php
>>>>>>> php5-extensions-1.3 A "meta-port" to install PHP extensions
>>>>>>> php5-filter-5.2.11_1 The filter shared extension for php
>>>>>>> php5-gd-5.2.11_1 The gd shared extension for php
>>>>>>> php5-gettext-5.2.11_1 The gettext shared extension for php
>>>>>>> php5-iconv-5.2.11_1 The iconv shared extension for php
>>>>>>> php5-imap-5.2.11_1 The imap shared extension for php
>>>>>>> php5-ldap-5.2.11_1 The ldap shared extension for php
>>>>>>> php5-mbstring-5.2.11_1 The mbstring shared extension for php
>>>>>>> php5-mysql-5.2.11_1 The mysql shared extension for php
>>>>>>> php5-openssl-5.2.11_1 The openssl shared extension for php
>>>>>>> php5-pcre-5.2.11_1 The pcre shared extension for php
>>>>>>> php5-pdo-5.2.11_1 The pdo shared extension for php
>>>>>>> php5-pdo_sqlite-5.2.11_1 The pdo_sqlite shared extension for php
>>>>>>> php5-posix-5.2.11_1 The posix shared extension for php
>>>>>>> php5-session-5.2.11_1 The session shared extension for php
>>>>>>> php5-simplexml-5.2.11_1 The simplexml shared extension for php
>>>>>>> php5-spl-5.2.11_1 The spl shared extension for php
>>>>>>> php5-sqlite-5.2.11_1 The sqlite shared extension for php
>>>>>>> php5-tokenizer-5.2.11_1 The tokenizer shared extension for php
>>>>>>> php5-xml-5.2.11_1 The xml shared extension for php
>>>>>>> php5-xmlreader-5.2.11_1 The xmlreader shared extension for php
>>>>>>> php5-xmlwriter-5.2.11_1 The xmlwriter shared extension for php
>>>>>>> [root@ricky /]#
>>>>>>>
>>>>>>> Any ideas for a completely ignorant, non-developer type?
>>>>>>>
>>>>>>> Thanks in advance.
>>>>>>>
>>>>>>> --
>>>>>>> PHP General Mailing List (http://www.php.net/)
>>>>>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>>>>>
>>>>>>>
>>>>>> create a small file with this code
>>>>>>
>>>>>>
>>>>>>
>>>>>> which will tell you want modules are enabled in php
>>>>>>
>>>>>> --=20
>>>>>>
>>>>>> Bastien
>>>>>>
>>>>>> Cat, the other other white meat
>>>>>>
>>>>>
>>>>> He already mentioned that phpinfo() fails.
>>>>>
>>>>> Thanks,
>>>>> Ash
>>>>> http://www.ashleysheridan.co.uk
>>>>>
>>>>>
>>>>>
>>>>
>>>> No, he mentioned that the "page" that he navigates to fails.
>>>>
>>>> My best guess would be that he is getting a fatal error, like he =20=

>>>> mentioned
>>>> above, which is preventing the output of the phpinfo() to be =20
>>>> displayed.
>>>>
>>>> He needs a stripped down file that has nothing but this in it.
>>>>
>>>> >>>> error_reporting(E_ALL);
>>>> ini_set('display_errors', 1);
>>>> phpinfo();
>>>> ?>
>>>>
>>>> If that still doesn't work, the op needs to set the error level =20
>>>> and error
>>>> reporting options in his php.ini so it will display the errors in =20=

>>>> the browser.
>>>>
>>>> Jim
>>>>
>>>> --=20
>>>> PHP General Mailing List (http://www.php.net/)
>>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>>
>>>
>>> ____________________________________________________________ _____
>>> Acesse o Portal MSN do seu celular e se mantenha sempre =20
>>> atualizado. Clique aqui.
>>> =
http://www.windowslive.com.br/celular/home.asp?utm_source=3D MSN_Hotmail&ut=
m_medium=3DTagline&utm_campaign=3DMobileServices200908
>>
>>
>> Just a thought, but have you tested that Apache is even working
>> correctly? What happens if you try to navigate to a plain-jane .html
>> page?
>>
>> I only say this, because it's possible that PHP is fully working, but
>> Apache isn't, and won't start because of some issue with the =20
>> phplib5.so
>> (or phplib4.so) that is causing Apache to not start up.
>>
>> Thanks,
>> Ash
>> http://www.ashleysheridan.co.uk
>>
>>
> =09
> ____________________________________________________________ _____
> Voc=EA sabia que pode acessar o Messenger direto do seu Hotmail? =20
> Descubra como!
> =
http://www.microsoft.com/brasil/windows/windowslive/products /tutoriais.asp=
x


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php