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 Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Apache 1.3.14, PHP 4.0, MYSQL And Win98
I have installed and working Apache and php 4.0. I would like to get mysql working too. I ran the phpinfo file using PHP 4.0 and I did not get the MYSQL extensions in the resulting table. I subsequently - after changing my http.conf file - ran the phpinfo file using PHP 3.0.16 and got the MYSQL extension showing up in the table. Why isn't the mysql extensions showing up under PHP 4.0?
View Replies !
Win98 + Apache 1.3.up + PHP 4.3.up Something Wrong
I been first times setup. So Who have experience the Win98 + Apache + php (not run PWS or IIS) I begin download and installed the Apache. I test the run is working on browser (http://localhost) show the apache page. But Apache Console Running under the DOS Window say :- ===================================== [Thu Nov 20 15:13:49 2003] [warn] (2)No such file or directory: exec() may not be safe Apache/1.3.29 (Win32) running... ===================================== I expect that it. So, I shall the php installer from download. I try changed the httpd.conf under the Apache directory. Restart Apaches Console. I testing the (http://localhost/test.php), show error page say "HTTP - Error 400 Bad Request" also "HTTP - Error 404 Not found" I have tried times.... But unknown.... Apaches Directory - c:apacheapaches*.* PHP Directory - c:apacheapachesphpwin32*.* httd.conf -: (was add the line) ScriptAlias /php/ "C:/Apache/Apache/phpwin32/" AddType application/x-httpd-php .php AddType application/x-httpd-php .phtml Action application/x-httpd-php "/php.exe" I didn't change php.ini yet I copy and paste the "php4ts.dll" under to C:windowsystem from PHP What I have done that above ?
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 !
Win98, Apache & Php4.3 Installation
I tried to install php as apache module. Previously it has been cgi. WIn 98 is not supported but cgi worked fine, anyway. I tried to everything according to instructions in php.net, but still it didn't work. - I put php4ts.dll to windows/system32 directory. - I configured http.conf: - I used the path where I had put php download (PHP 4.3.3 zip package [6,180Kb]). - I commented these three lines that were for the CGI-install: # ScriptAlias /php/ "c:/php/" # AddType application/x-httpd-php .php # Action application/x-httpd-php "/php/php.exe" But Apache didn't start. It died because of this line: LoadModule php4_module "c:/HERE_WAS_MYPATH/sapi/php4apache2.dll" http://fi2.php.net/manual/en/install.apache2.php If you would like to use PHP as a module in Apache 2.0, be sure to move php4ts.dll for PHP 4, or php5ts.dll for PHP 5, to winnt/system32 (for Windows NT/2000) or windows/system32 (for Windows XP), overwriting any older file. You need to insert these two lines to your Apache httpd.conf configuration file to set up the PHP-Module for Apache 2.0: Example 3-8. PHP and Apache 2.0 as Module ; For PHP 4 do something like this: LoadModule php4_module "c:/php/sapi/php4apache2.dll" AddType application/x-httpd-php .php ; For PHP 5 do something like this: LoadModule php5_module "c:/php/sapi/php5apache2.dll" AddType application/x-httpd-php .php Note: Remember to substitute the c:/php/ for your actual path to PHP in the above examples. Take care to use either php4apache2.dll or php5apache2.dll in your LoadModule directive and notphp4apache.dll or php5apache.dll as the latter ones are designed to run with Apache 1.3.x. Warning Don't mix up your installation with dll files from different PHP versions . You have the only choice to use the dll's and extensions that ship with your downloaded PHP version.
View Replies !
Installation Of Php/apache/mysql On Win98
I'm using an old computer - Win 98. I'd like to install php/apache/mySql on it but there are many versions and some do not recommend installing on Win98. If somebody could point me in the right directions about which versions of apache, mySql and PHp - or if there is a package suitable for Win98 that would be great.
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 !
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 !
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 !
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 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 !
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 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 !
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 !
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 !
Win98 And PHP
I have windows 98 and I would like to run PHP, I have PWS to run ASP but I would like to work towards javascript. I would work with ASP and VBScript but the problem is that I only have VB2005 EX ED. I got no books for VB at my home, but I have books on C++, Java, C#, Javascript, and much more.
View Replies !
Stand Alone Win98?
how would i get php running with mysql on a windows 98 machine with out a server so that i could test my scripts after i create them.?
View Replies !
PHP4+Win98 And Sessions
I've tried PHP4build4, RC1, RC2 and 4.0.0 with Win98 but sessions doesn't work: I've got 2 pages: first_page.php3 <? session_start(); $myvar="test"; session_register("myvar");?> second_page.php3 <? session_start(); echo $myvar; ?> I've launched first_page.php3, then I've launched second_page.php3: the browser doesn't display anything (it should display the world "test").
View Replies !
PHP4 Installation Win98 + PWS
I can't get to work php4 on my windows machine,l i have tryed all the things that came in the documentation and it doesn't work.The error that I recieve trying to run a php is HTTP 500 Internal Server Error.
View Replies !
File Permissions In Win98
I just wanted to know if there was any way I could change my file permissions so I can use the fopen function in windows 98 using Apache and PHP 4.04???? I know how to do it for Linux but I need it for Win 98.
View Replies !
Start Up / Shutdown Mysqld In Win98
I can start the mysqld fine by running the following command: C:mysqlbinmysqld --standalone and I can shut it down fine with the following command: c:mysqlbinmysqladmin shutdown But does anybody know how to set this up in win98 so that it will automatically startup mysqld on startup, and automatically shut it down on shutdown/restart?
View Replies !
Cannot Load Imap Extension In Win98
I removed the ; before "extension=php_imap.dll" in php.ini, and when I start Apache 1.3 I get the following error message: Unknown():Unable to load dynamic library 'c:phpextensionsphp_imap.dll". Uno de los dispositivos vinculados al sistema no funciona (Translation: one of the devices attached to the system doesn't work). I already checked the extension_dir directive, and copied php_imap.dll to c:windows just in case. I am using Windows98 SE with php 4.3.3 as module in Apache 1.3
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 !
Help With XP PHP Install, Php.ini
I installed PHP 4, Apache, and SQL on my home machine for development. I upgraded to PHP 5 to get squared away on it (even with the supposed bugs in XP) and yesterday it worked great with globals registered, SQL running and the GD & SQL libraries loading. I restarted my computer and now it doesn't seem that the php.ini file is being read. I run scripts that require globals to be registered and they are breaking. I fixed php.ini, restarted, erased all php.ini files, restarted (PHP worked still), replaced php.ini, restarted (still no luck), and ran db scripts that didn't require globals and found that the globals wasn't my only problem, php isn't loading any libraries which leads me to believe that php.ini is not being read. I didn't move any files between yesterday (working) and restarting (bad). Double-yew tee eff?
View Replies !
Can't Install PHP 4.3.7
It seems I can't install PHP 4.3.7, neither on my old apache (2.0.35), nor on a newer one (2.0.49). I always get the same error: module "sapi_apache2.c" is not compatible with this version of Apache (found 20020329, need 20020903). I tried to recompile apache & php several times. The only things that work are httpd 2.0.35 and php 4.2.2. I must admit that I didn't try other php and apache versions... Should I?
View Replies !
Help I Can't Install PHP
I don’t even know where to start. Two days over 14 bloody hours I am trying to install Apache2, MySQL, PHP and PhpMyAdmin. First I had a problem with Apache 2.0.48 but when I downloaded 2.0.53 and it installed fine. Next step Installing MySQL Servers and Clients 4.0.16 was the easiest part. Then I go for PHP and that’s the place where I feel sudden urge to swear uncontrollably. My installation file is php-4.3.4-installer.exe I select standard install and of course it goes to C:PHP Oh yes, I forgot to mention that I am using Windows XP and I am doing tutorials on dynamic web sites from a book I just bought so I’m really following the steps from that book. So I select: Address for SMTP server: localhost (From) address: me@localhost Select the type of http server: Apache (I set Microsoft IIS 4 of higher on my laptop and it worked) ......
View Replies !
PHP Install On IIS
i have to install PHP on IIS as my ADSL modem is not supported for Linux. I was just wondering if installing PHP while IIS is running is a good idea and is there anything i should do before installing??
View Replies !
PHP On XP Pro Install
I am trying to install PRP 4.0 on my machine, running XP Pro and IIS 5.1. I have tried two different installations to try to get PHP 4.0 running, but I have had no luck. I followed the "foolproof" instructions here: http://php.weblogs.com/easywindows on how to install PHP to windows, but alas, when I try to open a file called test.php in a browser all that happens is that the .php document opens up in notepad. I would also note that all the files on my machine with a .php extension have a "notepad" icon.
View Replies !
PHP 4.06 Install
I am using FreeBSD 4.2 currently with PHP 4.04. I want to install PHP 4.06 - with GD 1.8, jpeg support, PDFlib (newest version). I allready have Mysql 2.23. How much would you charge to walk me through how to compile/install/etc. the above on my FreeBSD if anything?
View Replies !
PHP Install On Win XP -
I am trying to install PHP on a Win XP Pro machine with no success. Is there someone who can walk me through the installation and setup or give me a link that will do the same? I've been told I have to go to the C:PHP directory, select Properties and then the Security tab in order to in order to select the I_USERcomputer name on an NTFS system. The problem is there is no Security tab when I go to the Properties of the php directory.
View Replies !
Gd-lib On Php Install?
1- I've php 4.3 installed on Win xp/Apache. How do I check that GD-library is working. I haven't installed it yet because I read somewhere that php 4.higher comes with gd-lib. 2- In the event I must install it, is there a gd-lib-on-php install workthrough?
View Replies !
How (or Where) To Install Gd?
I've actually downloaded gd-2.0.15 from here to try out some image generation. but then i dunno whether i've successfully installed it and store in the right place. is there anyone can help on explaining the steps? or is there any configuration required after successful installation of the library also plz b kind to share here.
View Replies !
PHP Install On Win XP
I'm trying to install PHP on my Win XP Pro machine. I've read many web sites giving installation instructions but can't seem to get it working. Is there somebody who could give me clear instructions on how to install and configure it? From what I've read, I've been able to do everything that seems to have to be done except for one thing. I'm using an NTFS file system and I've read that I must go to the PHP directory, select Properties and go to the Security tab. The problem is, I don't see a Security tab and therefore can't proceed.
View Replies !
GD2 Install
i've been using PHP version 4.3.8 successfully for a while on this system now, with Apache 2. I'm now trying to add the php_gd2.dll module, and can't for the life of me get it to work. I have moved files around, renamed things, restarted apache and my computer numerous times to make the changes, but no dice. I moved my php.ini file from the c:/winnt directory right into the c:/php folder, and moved the dll out into the main folder, but when i run phpinfo(), it's still pointing at c:/winnt as the location of the .ini file! WHY? I've added this into the httpd config file to point it in the right direction: PHPIniDir "c:/php" but NOTHING.
View Replies !
Which To Install First.
I need to get a web server up on FreeBSD and am just wondering what the recommend order of install should be. Should I A) Install PHP, MySQL, OpenSSL, then Apache or B) Install Apache, PHP, MySQL, OpenSSL or C) some other order
View Replies !
|