\\mar
1)
/usr/ports/lang/php4-extensions
поставил попытался и дал мне ошибку ....
.................................................................................................... .............................................................
The following line has been added to your /usr/local/etc/php/extensions.ini
configuration file to automatically load the installed extension:
extension=tokenizer.so
****************************************************************************
===> Returning to build of php4-extensions-1.0
===> php4-extensions-1.0 depends on file: /usr/local/lib/php/20020429/xml.so - not found
===> Verifying reinstall for /usr/local/lib/php/20020429/xml.so in /usr/ports/textproc/php4-xml
===> php4-xml-4.4.2_2 depends on executable: phpize - found
===> php4-xml-4.4.2_2 depends on file: /usr/local/bin/autoconf259 - found
===> php4-xml-4.4.2_2 depends on shared library: expat.6 - not found
===> Verifying reinstall for expat.6 in /usr/ports/textproc/expat2
===> Vulnerability check disabled, database not found
===> Extracting for expat-1.95.8_3
=> MD5 Checksum OK for expat-1.95.8.tar.gz.
=> No SHA256 checksum recorded for expat-1.95.8.tar.gz.
===> Patching for expat-1.95.8_3
===> Configuring for expat-1.95.8_3
===> Building for expat-1.95.8_3
make: cannot open Makefile.
*** Error code 2
Stop in /usr/ports/textproc/expat2.
*** Error code 1
Stop in /usr/ports/textproc/expat2.
*** Error code 1
Stop in /usr/ports/textproc/php4-xml.
*** Error code 1
Stop in /usr/ports/textproc/php4-xml.
*** Error code 1
Stop in /usr/ports/lang/php4-extensions.
*** Error code 1
Stop in /usr/ports/lang/php4-extensions.
2)
.....................................................................
Посмотрел что стоит уже:
cat /usr/local/etc/php/extensions.ini
extension=ctype.so
extension=mssql.so
extension=openssl.so
extension=overload.so
extension=pcre.so
extension=pgsql.so
extension=posix.so
extension=session.so
extension=tokenizer.so
3)
http://IP/phpinfo.php
писало
Cannot load session extension. Please check your PHP configuration.
потом
Cannot load mysql extension. Please check your PHP configuration. - Documentation
4)
mysql-client-5.0.22 Multithreaded SQL database (client)
mysql-server-5.0.22 Multithreaded SQL database (server)
php4-4.4.2_2 PHP Scripting Language (Apache Module and CLI)
php4-ctype-4.4.2_2 The ctype shared extension for php
php4-mssql-4.4.2_2 The mssql shared extension for php
php4-openssl-4.4.2_2 The openssl shared extension for php
php4-overload-4.4.2_2 The overload shared extension for php
php4-pcre-4.4.2_2 The pcre shared extension for php
php4-pgsql-4.4.2_2 The pgsql shared extension for php
php4-posix-4.4.2_2 The posix shared extension for php
php4-session-4.4.2_2 The session shared extension for php
php4-tokenizer-4.4.2_2 The tokenizer shared extension for php
apache-2.0.54_4 Version 2 of Apache web server with prefork MPM.