[PHP-INSTALL] problem with building libphp4.so
Hi, I am trying to install PHP as a module under Apache and I have the following configuration : SuSE 8.2 Professional (the minimal installation + all compilers including gcc) Apache 1.3.29 PHP 4.3.4 I can get Apache up and running. The files for 'making' the .so file are in place at src/modules/php4 where I point to in the make file , but the libphp4.so is not created, hence not found. I reiterated the process a few times but to no avail. All help highly appreciated.
[PHP-INSTALL] Help with Solaris/iPlanet 4.1 Setup
I've followed the instructions at http://www.php.net/manual/en/install.netscape-enterprise.php for setting up PHP 4.3.4 with iPlanet 4.1 on Solaris 8, including: mime.types: type=magnus-internal/x-httpd-phpexts=php obj.conf: Init fn="load-modules" funcs="php4_init,php4_execute,php4_auth_trans" shlib="/us r/local/netscape/server4/bin/libphp4.so" Init fn="php4_init" LateInit="yes" errorString="Failed to initialize PHP!" [php_ ini="/usr/local/lib/php.ini" 5="]" PathCheck fn="find-index" index-names="index.html,home.html,index.php" ObjectType fn="force-type" type="text/plain, magnus-internal/x-httpd-php" Service fn="php4_execute" type="magnus-internal/x-httpd-php" iPlanet startup successfully loads the php lib: [13/Nov/2003:16:21:16] info (27344): php4_init reports: Initialized PHP Module ( 128 threads exspected) However, when attempting to load a simple (phpinfo()) test page, all web browsers I test attempt to download the php page, rather than displaying its content. Where else do I need to look? Thanks. -- Tim Evans | [EMAIL PROTECTED] Social Security Administration | (410) 965-4217 Office of Electronic Services | (410) 597-1187 (FAX) Baltimore, MD 21235 | http://www.socialsecurity.gov/
[PHP-INSTALL] cgi error
I figure from all the research I’ve done this is probably a common error, but I cannot get php to work at all. I am running iis 5 on windows xp. I used the Windows Installer for PHP. When trying to call any php page (even ), I get a cgi error: The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: I have tried everything I can think of to get this to work. Permissions are set on the php directory for IUSR_machine, .php extension is registered in IIS and points to php.exe. Have changed settings in php.ini for cgi.force_redirect = 0. I am at a loss for what to try next. Any help would be greatly appreciated. Jason Cole Department of Computing Services University of Arkansas at Little Rock 2801 S. University Avenue Little Rock, Arkansas 72204 E-mail: [EMAIL PROTECTED] Phone: 501-569-3442
[PHP-INSTALL] Installing PHP 4.3.4 with OpenLDAP 2.1.22
Hello, I'm trying to install PHP 4.3.4 with LDAP support on Solaris 8. I'm compiling PHP as a DSO for Apache and I'm using OpenLDAP 2.1.22. Everything compiles just fine, however when I do a make install, I get the error: "Assertion Failed: LDAP_VALID (ber) encode.c line 472." Can anyone help me with this ? Thanks, Mike McNeil Sr. Network Engineer
Re: [PHP-INSTALL] Can't get PHP to work with postgres
On Nov 16, 2003, at 8:51 PM, Bengt Hammarlin wrote: This is what I do: cd httpd-2.0.48/ (apache) configure make cd ../postgresql-7.3.4/ configure make make install cd ../php-4.3.4/ ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-postgres make make install libtool --finish {path}/php-4.3.4/libs Then I tar up /usr/local/apache2 and copy to my target machine that does not have compilers and stuff. for good measure i toss in /usr/local/postgres as well When trying my page (that works well in a install-from-an-old-RH-CD environment) I get Fatal error: Call to undefined function: pg_pconnect() in {other-path}/connect_db.php on line I would very much appreciate some good advice. Bengt Hammarlin Bengt, It looks like you might not have the PostgreSQL configure switch correct. If you issue: $>./configure --help > phpConfigOptions.txt and search through the text of that file that is produced, you will find: --with-pgsql[=DIR] Include PostgreSQL support. DIR is the PostgreSQL base install directory, defaults to /usr/local/pgsql. I used that and my PostgeSQL support is working. Best wishes, -- Barry C. Hawkins All Things Computed site: www.allthingscomputed.com weblog: www.allthingscomputed.com/blog/
[PHP-INSTALL] mcrypt libraries?
I am not sure if I should post my question here but I will anyways. Ok, I have compiled the mcrypt libraries on a Redhat 9 box running apache 2 with php4. And I need to know the next step(s) in getting php to use the libmcrypt libraries. If anyone has set this up in the past or has some pointers (other than reading the manual) I would appreciate it. Jas