Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Install PHP5, Apache 2.2 And IIS


The book that I have talks you through the setup of both Apache and PHP. I allready have IIS installed. when I go to localhost:8080 I get an unable to find page come up.

I have checked the error log and I get the following;

[Wed Jan 31 13:28:58 2007] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico

I have checked for the file on my system and it is indeed not there. But surely not having a favicon is not a reason to shut it down?? If so I have downoloaded the latest full packages today, so seems a little strange that it is missing.




View Complete Forum Thread with Replies

Related Forum Messages:
Install PHP5 And Apache 2.2.2 (Linux)
I'm running into the same problem that no doubt many are. I'm installing PHP 5.1.4 and Apache 2.2.2 on the same server, but Apache won't recognize the PHP module, saying it's garbled.

I understand from reading various bug reports that PHP will release this option come 5.2.0, but I want to know if anybody has PHP 5.1.4 and Apache 2.2.2 working under Linux yet.

View Replies !
Install Php4 And Php5 At The Same Time To Apache
Here is some note about installation together php4 and php5 on apache2.

First you need is to edit with the help of hex editor php4apache2.dll (in my case, or php5apache2.dll) in php4 directory. You find "x-httpd-php" and replace with "x-httpd-plc" e.g. (I found 2 matches) Save your dll file and edit your apache config (httpd.conf) e.g. like: Code:

View Replies !
Install Php5 On A SuSE 9.3 Linux System Running Apache 2.0.49
I am trying to install php5 on a SuSE 9.3 Linux system running apache 2.0.49. For some reason,when attempting to restart the server,I get the following error:

"Syntax error on line 26 of /etc/apache2/sysconfig.d/loadmodule.conf:

Cannot load /usr/lib64/apache2-prefork/libphp5.so into server: /usr/lib64/apache2-prefork/libphp5.so: undefined symbol: php_session_create_id"

Does anyone know what is causing this error,or what I can do to correct it?


View Replies !
PHP5 Install
I am trying to install PHP5 with MYSQL support but the configure fails. It gives me the following error.

"configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore!". Here is the configure options I gave it:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-zlib-dir=/usr/lib/mysql/libmysqlmysqlclient.so --with-pgsql=/usr/local/pgsql

My srever:
OS: SUSE 10
PHP: 5.1.1
MYSQL: 4.1.13
Apache: 2.2.0

What am I missing?

View Replies !
Install PHP5 &
I have installed Apache 2.2.2. When i was looking through all the installation
manuals for PHP, they were outdated and their instructions differed among the
different version of PHP. kind to write down the installation steps for PHP 5.1.4 for window XP. Or direct me to any links that have that, that will be great. I have been searching for such tutorials on that over many places but can only find ones for MAC.

View Replies !
Install Php4 & Php5
Wanted to install php5 as well as php4 in a single system is this possible..Windows XP
Please let me know and one more thing can u send me some easy and good link to install php 4 and php5 in windows XP environment.

View Replies !
INSTALL: Bz2 Support For Php5 On Debian
Has anyone had problems getting bz2 support compiled into php-5.0.4 on a
debian server?

bzip2 & bunzip2 are located in /usr/bin & I am using --with-bz2=/usr

However, I keep getting the following on ./configure:
checking for BZip2 support... yes
checking for BZip2 in default path... not found
configure: error: Please reinstall the BZip2 distribution

I've done an apt-get --reinstall bzip2, but I still get the same
messages.

View Replies !
Pear Install ?, WinXP, Php5.2
only got "pear.old_bat"

I had a previous post ".. Upgrade Methods ..." and so far I've gotten
around most thorny issues, including patching php5.1.4 with
php5apache2_2.dll so I can run it as module with Apache2.2.3

I need a educated response from a PEAR developer, if possible
My 1st run go-pear
died because I exceeded "maximum execution time" while researching the
1st ?
? system | local ? I didn't have adequate understanding to answer,
but guessed system.

It looks like PEAR got installed just fine, but I didn't end up with a
"pear.bat", I just had "pear.old_bat". I'll probably rename and
begin to use this, I just wondered what changes are made to file during
install process, changes and obvious backup.
Maybe I'll need to modify slightly; If so how ??

View Replies !
How To Install PHP4 And PHP5 (linux Fedora4) ?
I'd like to use php5 but at my work we use PHP4.
How can use both togheter?
I work whith Linux Fedora 4 then I have PHP5 installed
so how can install PHP4 and use PHP5 for my experiment and PHP4 for works?

View Replies !
Service Unavailable On New Install Of PHP5 And IIS6
I just followed the instructions on the manual install of PHP5 on to a Windows IIs6 box using ISAPI not CGI. At first I had problems with getting a username/password box when trying to access a php file through a web browser, now i've got that cleared up by adding the username to the php and inpub directories.

Now when i go to the page with the browser I get "Service Unavailable" I've searched Google, and this board and can't find any help yet. Any ideas?

View Replies !
Install PHP5 On My SuSE10 With Apache2.2 And MySQL5.
I'm trying to install PHP5 on my SuSE10 with Apache2.2 and MySQL5. when I try to make php it exits with this message: Code:

# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql/ --with-mysql-sock=/usr/local/mysql/tmp/mysql.sock

/usr/local/php-4.4.2/ext/mysql/php_mysql.c:1163: undefined reference to `mysql_create_db'
ext/mysql/php_mysql.lo: In function `zif_mysql_drop_db':
/usr/local/php-4.4.2/ext/mysql/php_mysql.c:1205: undefined reference to `mysql_drop_db'
collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1

View Replies !
PHP Install With Apache
I tried to install PHP 4.0.0 and then PHP-3.0.16 but failed both the times. I am working on i386/ Caldera Linux 2.2.14 My apache server (1.3.11) is working alright. I tried both the rpm and gz install packages.

Here's what I did:
# gunzip -c php-4.0.x.tar.gz | tar xf -
# cd php-4.0.x
#./configure --with-mysql-with-xml--with-apache=../apache-1.3.11--enable-track-vars

how to install php4.0 or 3.0 to work with Apache and MySql?

View Replies !
Cannot Install Apache
I downloaded and installed apache_2.0.54-win32-x86-no_ssl.msi
By running binApache -k install I receive th following message:
<OS 10048>Normalerweise darf jede Socketadresse <Protokoll,
Netzwerkadresse oder Anschluss> nur jeweils einmal verwendet werden. :
make_sock could not bind to no listening sockets available, shutting
down
Unable to open logs

View Replies !
Install Apache
I have Apache HTTP Server 2.0.53 and PHP 4.3.10 programs and I want to install it on my computer so I can view .php pages offline (I don't have ADSL)? I tried myself but it doesn't work. Manual is complicated.

View Replies !
Apache Install
im using windows xp and im tryng to install apache/php/mysql when i installed apache i got this error:

no installed service "apache2" What does this mean? i tried to look at the service but i dont see anything apache2?? This occured when i tried to start the apache. MY installation was very sucessfull and also what does this error means

cannot make socket on 0.0.0.0

And forgive me for being so dumb in this apache /php after i installed the apache what are the things that i need to configure in httpd.conf to work in php?

View Replies !
Can Not Find Libexec/libphp5.so (install PHP5 + Apache2.0 +mysql4.2)
Thank you for your time to see my question. I am new in PHP.

I installed MySQL, SSL, and Aparche2 in my fedora 3 box. everything
working fine. now I am installing PHP5. I followed PHP installation
instruction, everything is OK before 14th step:

14. Edit your httpd.conf to load the PHP module. The path on the right hand
side of the LoadModule statement must point to the path of the PHP
module on your system. The make install from above may have already
added this for you, but be sure to check.

For PHP 4:

LoadModule php4_module libexec/libphp4.so

For PHP 5:

LoadModule php5_module libexec/libphp5.so

After I modified the file and doing the step 15 which is restart Apache
server, the error message said it can not find the file libphp5.so

I did search my entire file system, there is no such file, what's going
on? Am I did something wrong?

View Replies !
Install Apache,MySQL And PHP
I may sound like a newbie, but I've started my new job and we are running on Windows XP where previously I was using LINUX , and now I want to install Apache,MySQL and PHP, not done this for a while.

Been to php.net but confused as to which one to download, any helpers? Also where to install the other stuff.

View Replies !
Install Problem Apache Php
I have been struggling in my spare time configuring apache and php.
I am running windows xp pro O/S.

Here is the problem, if i install apache choosing the option "For all
users on port 80 as a service, recommended", all works fine i can
create php files and run them in my browsers but i have to be online,
it won't work offline (I understand port 80 is the web, can i change
it and how if yes?).

Now if i install apache with the second option "only for the current
user on port 8080, when started manually." in order to be doing what i
really want which is to test my code offline on my PC, nothing will
work.I get the console and don't know what to do with it.I am supposed
to start apache manually but how?

View Replies !
Apache 2.2.3 PHP 4.4.5 Install Fails
I have Apache 2.2.3 installed and running on WinXP Pro SP2. I
installed PHP 4.4.5 and added the following lines in httpd.conf

PHPIniDir C:/PHP445/
LoadModule php4_module C:/PHP445/php4apache2.dll

When I restarted Apache, i got this error:

The Apache service reported the following error:

Quote:

View Replies !
Apache Php Cgi Install Problem
I am trying to install PHP 5.0.4 on Apache 2.0.54 on WinXP Pro SP2 as a
cgi binary.

Apache2 directory is c:/Apache2
htdocs is c:/Apache2/htdocs

php is installed in c:/php
This contains php.ini, php-cgi.exe and php5ts.dll and other files
required for the module method of php installation are also present,
but i think additional files being present should not cause any problem

Directory containing php scripts is C:/Apache2/htdocs/php

My httpd.conf file has

#----------------------------------------------------------
ScriptAlias /php/ "C:/Apache2/htdocs/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "C:/php/php-cgi.exe"
#ScriptAliasMatch ^/php(.*) C:/Apache2/htdocs/php$1
#----------------------------------------------------------

I get the error
[Wed Feb 22 15:01:18 2006] [error] [client 127.0.0.1]
C:/Apache2/htdocs/php/index.php is not executable; ensure interpreted
scripts have "#!" first line
[Wed Feb 22 15:01:18 2006] [error] [client 127.0.0.1] (9)Bad file
descriptor: don't know how to spawn child process:
C:/Apache2/htdocs/php/index.php

in the Apache error log.

What could be the error?

I have no experience in CGI - I only know it stands for Common Gateway
Interface - is there something needed to be read up first?

I assume when run in CGI mode, whatever you put in your "cgi" diectory
(here it is c:/Apache2/htdocs/php) it will be treated as a script.
Because if I try http://localhost/php/file.htm it still gives the same
error.

Also, if I put #! on the first line I get
[Wed Feb 22 15:33:45 2006] [error] [client 127.0.0.1] (OS 2)The system
cannot find the file specified. : couldn't create child process:
720002: index.php
[Wed Feb 22 15:33:45 2006] [error] [client 127.0.0.1] (OS 2)The system
cannot find the file specified. : couldn't spawn child process:
C:/Apache2/htdocs/php/index.php
or
[Wed Feb 22 15:36:18 2006] [error] [client 127.0.0.1] (OS 193)%1 is not
a valid Win32 application. : couldn't create child process: 720193:
index.php
[Wed Feb 22 15:36:18 2006] [error] [client 127.0.0.1] (OS 193)%1 is not
a valid Win32 application. : couldn't spawn child process:
C:/Apache2/htdocs/php/index.php

Any suggested readings?
I've googled the web and Google Groups but not able to get anything
newer than what i know so far.

View Replies !
Install Php4.0.0 In Apache
I have Apache and i want to install php4.0.0. How can i do that?

View Replies !
Install Apache PHP And MySQL
install apache and configure php and my sql to
work with apache.

View Replies !
How To Install Apache Server.
how to install Apache server.

View Replies !
PHP Install On APACHE A Failure
I've been trying all day to configure PHP with Apache and it's been a nightmare I've tried every suggestion that is out there, including PHP's official manuals, and it's been nothing, but a failure. Code:

View Replies !
Apache Install Error
Just downloaded apache 2.o and it wont run. The error I keep gettin is "DocumentRoot not a directory" I downloaded it as was told so not sure wat the problem is. It's probably something really easy.

View Replies !
Win98 Apache And Php Install Not Wokring.
I have installed the latest Apache and PHP binaries (the PHP CGI executable release - not the ISAPI). I then configured the httpd.conf sciprt using the install.txt file from the PHP install and 2 reference books as guides. This got me to the point where I BELIEVE the PHP interpretor is kicking in for .php scripts. But when I try and browse the following page : <? php_info() ?> I get the following error :

Fatal error: Call to undefined function: php_info() in e:/apache/htdocs/phptest.php on line 1 Code:

View Replies !
Use Apache And PHP5 - How?
I want to use PHP5 with apache. I'm having trouble configuring the http.conf file. What code should I put in?

View Replies !
PHP5 From Apache
This might have been covered in this forum before, but the search strings I tried didn't turn up a solution. I've been developing an application at home using PHP5 on Linux. I brought the project into work to test it on the school's internal iMac Webserver running OS 10.4 and PHP5. The CLI application is crashing with an . Code:

"Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR'
"

error message everytime it hits a class file with a private or public keyword in front of a class property or method. (I switched the load order of the class files to confirm that it was crashing over private and public. The phpinfo.php web page showed me I was running PHP Version 5.2.1; however, on a hunch, I typed php -ver at the command line and discovered I also had PHP 4.4.7 (cli) installed. I tracked down PHP5's location and was able to execute my program typing /usr/local/php5/bin/php main.php.

View Replies !
Apache 1.3, PHP5
I've looked at so many variations on what I might try to solve the failure of pspinfo() to execute when called by a simple test.php file that I'm now lost. My Apache server runs OK. I'm running under XP. I have folowed the steps given in the book 'PHP and Mysql 'but I'm clearly missing something in php.ini or httpd.conf Where does the phpinfo() function reside? Why can't I find it in my PC?

View Replies !
PHP5 On Apache 2
I have tried to install mod_PHP5 on freebsd where I had installed apache 2. It throws as error indicating mod_php5 needs apache 1.3. I am a newbie, shoudl I just run Apache 1.3 rather than trying to run the latest Apache.

View Replies !
Install Prob With Php/cgi/unix/apache... Any Help Is Appreciated...
I'm running php as a cgi on unix server with apache. I modified my httpd.conf file to have

AddType application/x-httpd-php .php
Action application/x-httpd-php /cgi-bin/php
ScriptAlias /cgi-bin/ "/disk2/opt/eai/visnetwork/cgi-bin/

in cgi-bin I have a link called php which points to the php executable which resides in /usr/freeware/bin/.
when I point to any php file I get this message:


Warning: Unexpected character in input: '' (ASCII=16) state=1 in /usr/freeware/bin/php on line 217

Warning: Unexpected character in input: '' (ASCII=8) state=1 in /usr/freeware/bin/php on line 217

Warning: Unexpected character in input: '' (ASCII=20) state=1 in /usr/freeware/bin/php on line 217

Warning: Unexpected character in input: ' in /usr/freeware/bin/php on line 217

Warning: Unexpected character in input: ' in /usr/freeware/bin/php on line 217

Warning: Unexpected character in input: ' in /usr/freeware/bin/php on line 217

Parse error: parse error in /usr/freeware/bin/php on line 217

I think what is happening is that php is loading itself into the executable instead of the file that I'm linking to. I have verified this by running php on itself from the command line and I get the exact same error. I have a feeling I am overlooking some simple little detail. Can anyone help me out? I've been searching for days now and got a hot tip about this website.

View Replies !
Php5 Apache Error
I just installed on a new machine windows server 2003 and installed apache 2.2 on it and then unzip the php 5.1 files in c:php5 then added the load module php5_module line in httpd conf file copied the php5ts.dll to system32 and also in apache bin but when i start apache it keeps giving me error php5apache2.dll module not found if i remove this line from apache it works fine and apache starts but if i add this line it does not start can anybody suggest how to fix the problem why cant apache find the file php5apache2.dll the path is correct.

View Replies !
Installing PHP5 On APACHE 2.2.x
I'm trying to do a new install of PHP5 on Apache 2.2.x and i'm running into a serious snag. It wont load anything! after it's installed, I've checked my configure files and then load it. When i open a page i get nothing. just blank pages no matter what.
Then if i turn on the startup error reporting i get errors galore telling me that *.dll's could not be loaded. I've checked my paths, and checked my sources, permissions and everything. The files are there.

View Replies !
Apache Hangs With PHP5
We have installed PHP 5.0.1 on a Windows 2003 Server with IIS6 in ISAPI mode. The processing of .php files works fine with our basis version of the php.ini file. But, as soon as we edit the php.ini file to outcomment the line "extension=php_sybase_ct.dll" (or "extension=php_pdf.dll") and restart the IIS6, the web site is not able to work with .php files properly, instead the web server seems to hang with any .php file.

View Replies !
Apache Mysql Php5
I've managed to install, config, and make operable an Apache server, mysql, php5, ZendOptimizer, and phpMyAdmin on my WinXp comp. The problem is that when I install a script such as a cms or topsite they fail to run. I want to be able to run and test scripts on localhost before uploading to www.server I've installed such scripts on *nix based web servers without problem.

I researched and found that chmod should not be an issue on windows so all the files/folders should have read/write access. I,m completly stumped. These scripts that I've attempted to run on my test server go through thier entire install process creating tables and such untill complete. I point to the folder/index.php and nothing.

View Replies !
PHP5 With MySQL 4.1 On Apache 2 On Win98
I am in the process of learning php. I am particularly
interested in its uses with MySQL. I have Apache 2 and PHP5 both
installed and working fine. I pasted a MySQLi example for opening and
connecting to a MySQL DB into "hello.php"

<?php
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");

/* check connection */
if (mysqli_connect_errno()) {
printf("Connect failed: %s
", mysqli_connect_error());
exit();
}

printf("Host information: %s
", $mysqli->host_info);

/* close connection */
$mysqli->close();
?>


For some reason when I get:

Fatal error: Class 'mysqli' not found in D:Apache
groupApache2htdocshello.php on line 7

I installed PHP in "d:php" and added it to my path in my autoexec.bat.
in php.ini:
....
extension_dir = "d:phpext"
....
extension=php_mysqli.dll

I read all the posts at the bottom of the pages on PHP.net website where
someone says "I had a problem and I got...yada...yada and did everything
each of those posts said you had to do and it still won't work.

The only thing left is how PHP needs compiled with a "--with" statement
or something like that but I'm using the windows binary so that
shouldn't be a problem...

Is there some other problem it could be besides a problem with finding a
dll or ini?

View Replies !
Net-snmp + Php5 Apache Module
I've recently built a new server on which I've tried to configure and
install PHP5 (I've now tried 5.0.4, 5.0.5, and 5.1.0RC1) along with
Apache 1.3.33 and net-snmp 5.2.1.2. (Building PHP5 as an Apache module)

Everything compiles just fine, but when I try to call any of the SNMP
functions (i.e. snmpget) from a PHP script on a web page, I get the
following error:

Warning: snmpget() [function.snmpget]: Could not open snmp connection: Unknown host in /var/www/test.php on line 5

However, I can execute the same script (which just consists of a simple
snmpget) from the CLI and it works just fine. It also works fine if I
execute from Apache as a CGI.

If I build the same configuration with PHP 4.4.0, everything works fine
from within the Apache module. I've tried executing all of this from the
CLI as the Apache user as well and it does not seem to make any
difference.

Has anyone else encountered this issue? Any ideas about what I could
try to fix it?

View Replies !
Apache 2.0 W/PHP4; W/PHP5 Cohabitate
Apache 2.0 is currently installed to support an application using PHP4. I do not have PHP4 development environment installed. I want to install PHP5 for a learning session. The httd.conf file in Apache has the following entry:

LoadModule php4_module "C:/Program Files/ktdms/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/Program Files/ktdms/php"
<Directory "C:/Program Files/ktdms/knowledgeTree">

The install process for PHP5 application instructs the following insertion in httd.conf:

# For PHP 5 do something like this:
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir "C:/php"

Will this work without conflict? Can I install PHP5 development environment using Apache 2.0 while another application is using Apache 2.0 with PHP4?

View Replies !
Apache/ Win XP Home/ PHP5/ MySQL
I can get PHP5 running on Apache 2 installed on Windows XP Home Edition. Now I want to add MySQL4 to the package. I installed it but I'm not sure what to do now. My PHP5 scripts are running fine. The MySQL server seems to be running though actually I'm not sure. When I write

$link = mysql_connect("localhost", "mysql");
I get the PHP5 error message
"Call to undefined function mysql_connect()"

Can anyone help?

View Replies !
Is The Php Install For Xp/apache Supposed To Build The Extensions Folder And Populate It?
Is the php install for xp/apache supposed to build the extensions folder and
populate it? If so, and mine didn't do this, what does it indicate? (phpinfo
runs fine).

View Replies !
Trying To Get MySQL, Apache, And Php5 To Play Nice Together
I'm trying to get MySQL, Apache, and Php5 to play nice together in Windows
but having problems.

I don't want to install those automatic 'all-in-one' packages because I want
to know how to do it myself. I think I installed Apache correctly because
when I type http://localhost in my browser I see my directory, but echo
phpinfo() gets me a blank page. Can someone please point me to a resource
that explains how to get php5 working?

I put the doc root path in my php.ini to point to C:Program FilesApache
GroupApache2htdocs and no go..

Also, am I suppose to put my public_html folder inside of htdocs in tact, or
do I empty the contents of my public_html into htdocs?

View Replies !
Installing Php4 And Php5 On Same Apache Server
i'm trying to install php4 and php5 on same apache but it doesn't work. i have php4 installed in c:php4 and php5 in c:php5 if it's possible to install both as module it will be great. Code:

View Replies !
Installing And Running Apache 2.0.46 / Php5.0.0b1 / Suse Linux 8.2
I did the following as instructed in the docs. (see below)
everything seemed to install ok
and I started apache with no complaints, but,

1)I do not see a process for apache using ps -ef
2) In yast I see that the new apache2 version is installed but not
php5, its still on php4

any ideas ?

1. gzip -d httpd-2_0_NN.tar.gz
2. tar xvf httpd-2_0_NN.tar
3. gunzip php-NN.tar.gz
4. tar -xvf php-NN.tar
5. cd httpd-2_0_NN
6. ./configure --enable-so
7. make
8. make install

Now you have Apache 2.0.NN available under /usr/local/apache2,
configured with loadable module support and the standard MPM
prefork.
To test the installation use your normal procedure for starting
the Apache server, e.g.:
/usr/local/apache2/bin/apachectl start
and stop the server to go on with the configuration for PHP:
/usr/local/apache2/bin/apachectl stop.

9. cd ../php4-NN
10. ./configure --with-apxs2=/usr/local/apache2/bin/apxs
11. make
12. make install
13. cp php.ini-dist /usr/local/lib/php.ini

Edit your php.ini file to set PHP options. If
you prefer this file in another location, use
--with-config-file-path=/path in step 10.

14. Edit your httpd.conf file and check that these lines are
present:

LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php

The path on the right hand side of the LoadModule statement must
point
to the path of the PHP module on your system. The above statement is
correct for the steps shown above.

15. Use your normal procedure for starting the Apache server, e.g.:
/usr/local/apache2/bin/apachectl start

View Replies !
PHP5.05, Mysql4.1, Apache On Windows XP - Cant Get Php To Talk To Mysql
I have read all (ok most) of the posts relating to "Call to undefined
function mysql_connect()", read the manual on PHP.net and done
eveything thats ive been asked to do but cant get PHP to talk to MySQL,
PHP is working fine but I dont get any mysql info when running <?
phpinfo() ?> and get the "Call to undefined function mysql_connect()"
when trying to connect to mysql through php in browser, please help.

1. I have added C:php; to the end of the environment variable path
2. I have edited my php.ini file to :
extension_dir = "c:phpext"
extension=php_mysql.dll - removed the ";"
... ive checked i only have 1 php.ini file!
3. The dll "libmysql.dll" is in the folder C:php
4. The dll "php_mysql.dll" is in the folder c:phpext

View Replies !
What Are The Pros/cons/issues For PHP4/PHP5 With Apache (either 1.3 Or 2).
I'm starting a database/web interface project, using Linux and postgresql. I've programmed in PHP4 in the past, and for this new project am unsure whether to use PHP4 or PHP5. My main concerns are stability and security. What are the pros/cons/issues for PHP4/PHP5 with apache (either 1.3 or 2).

View Replies !
Can't Install PHP - Keep Getting "Invalid Directory" Error Regarding The Path To Apache Httpd.h
I've installed Apache 1.3.36 on my Redhat EL 3 machine. Now I'm trying
to install PHP 5.1.4. I can not get the ./configure command to work. I
keep getting this error:

configure: error: Invalid Apache directory - unable to find httpd.h
under /usr/local/apache/include

So then I run this command:

find / -name httpd.h

which should find every file on my machine with the name "httpd.h".
These are the results I get:

/usr/local/apache/include/httpd.h
/home/shelley/apache_1.3.36/src/include/httpd.h

So I've rerun the ./configure command, using this first:

--with-apache=/usr/local/apche/include

and since that didn't work:

--with-apache=/home/shelley/apache_1.3.36/src/include/httpd.h

but I get the "Invalid directory" error with both addresses.

View Replies !
Can I Install Apache/MYSQL Side By Side With IIS?
However I also have a few sites I maintain that are Nix/PHP/MySQL. I would like to install PHP and MySQL on my windows machine. It would be ok if the PHP pages worked in the IIS environment such as http://localhost/index.php

However I thinka better solution may be to install
apache/php/mysql/phpmyadmin side by side with IIS.

Would I be able to run it side by side with my IIS

To get to IIS : http://localhost/index.asp
To get to Apache: http://localapache/index.php

I suppose I would like to use .htaccess locally to test mod_rewrites.

View Replies !
Libtool: Install: Error: Cannot Install `libphp5.la' To A Directory Not Ending In /va
I am trying to install php on a Solaris 9 box. Here is my configure statement: Code:

View Replies !
Use For Install Like /install Or Install.php Or Setup.
I am trying to install a php script and there is nothing about what to use for install like /install or install.php or setup. I have tried to contact the developer email sends back.

View Replies !
PHP Install Core Dump "make Install" PEAR On Solaris 9
php has been configured with the following two configure lines and
core's during "make install" on the PEAR section. Is there something
simple i'm missing? Any help would be appreciated.

Environment:

Solaris 9
php 5.2.1
GNU Make 3.81
gcc 4.1.1

../configure --prefix=/opt/foo/php5 --enable-force-cgi-redirect --
enable-discard-path --enable-fastcgi --with-curl=/opt/foo --enable-
sockets --with-zlib=/opt/foo --with-libxml-dir=/opt/foo --with-
openssl=/opt/foo --with-nsapi=/opt/foo/sunone/current --enable-ftp --
with-ldap=/opt/foo/openldap --with-snmp=/opt/foo/net-snmp --enable-
soap --with-xsl=/opt/foo --enable-libgcc --with-mysql=/opt/foo/mysql --
with-pear .....

View Replies !
Set Php_admin_flag With Apache Env Var In Apache Config
SetEnvIf Server_Addr 192.168.1.10 HTTP_X_PHP_ERRORS_DISPLAY=on
php_admin_flag display_errors HTTP_X_PHP_ERRORS_DISPLAY

is something like this possible? In other words, can I set a php ini var in apache config from an apache env var?

View Replies !
Install PHP
I downloaded the file from www.php.net/downloads.php and I need to know how to install it.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved