| | |
php script displays the source code on invokation
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Mar 2006
Posts: 2
Reputation:
Solved Threads: 0
I have installed MySql 5.0.19, Apache 1.3.34 and PHP 5.1.2(SAPI Module) and configured both php.ini and httpd.conf files such as extension_dir,doc_root,LoadModule,AddModule,AddType etc. on myWindows Xp (FAT32) system. When I invoke test.php containing the code <?php phpinfo(); ?> on the browser, the sorce code itself gets displayed without error. Where is the problem, please help me.
You sure you're calling the file from the server, and not from the local file? That is to say, are you opening your file by double clicking it in explorer, or are you calling it by typing an address like this in your browser address bar -- http://localhost:8080/test.php ? If you call the file directly from explorer, you'll see the code. Calling it from the server tells the PHP engine to process the PHP file and send the reesults to the browser.
Touch eyeballs to screen for cheap laser surgery
![]() |
Similar Threads
- Installing software on Linux: source code (*nix Software)
- Compile PHP (PHP)
- PHP Script Translate To VB 6.0 (Visual Basic 4 / 5 / 6)
- question about connecting odbc to sql through php script (PHP)
- coloring of source code (PHP)
- Please school me in PHP script installation. (MySQL)
Other Threads in the PHP Forum
- Previous Thread: Help
- Next Thread: Pagination - not displaying results properly, please help!
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array basic beginner binary bounce broken cakephp checkbox class cms code computing confirm cron curl database date delete directory display domain download dynamic echo email error file files folder form forms function functions google href htaccess html iframe image include indentedsubcategory insert integration ip java javascript joomla limit link load login loop mail menu mlm mod_rewrite multiple mysql oop parse paypal pdf php problem query radio random recursion regex remote return script search server sessions sms soap source space sql structure syntax system table tutorial update upload url validation validator variable video web xml youtube






