PHP scripts won't compile

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PHP scripts won't compile

Postby PeterNMcArthur » 22. January 2013 15:50

Hello, I've been having this problem for about a week now and being a complete beginner I'm totally stumped! I've downloaded and installed XAMPP 1.8.1, initially I couldn't even open my PHP pages all that happened was firefox offered to download them for me. Now I can open PHP pages but the php within doesn't compile leaving me with lines of useless php throughout my pages. I have no idea how to fix this or what I've done wrong. I'm sorry for asking such a rudimentary question.

My control panel log is as follows:

Code: Select all
 
14:25:06  [main]    Initializing Control Panel
14:25:06  [main]    Windows Version: Windows 7 Ultimate SP1 32-bit
14:25:06  [main]    XAMPP Version: 1.8.1
14:25:06  [main]    Control Panel Version: 3.1.0 3.1.0 [ Compiled: September 20th 2012 ]
14:25:06  [main]    You are not running with administrator rights! This will work for
14:25:06  [main]    most application stuff but whenever you do something with services
14:25:06  [main]    there will be a security dialogue or things will break! So think
14:25:06  [main]    about running this application with administrator rights!
14:25:06  [main]    XAMPP Installation Directory: "c:\xampp\"
14:25:06  [main]    Checking for prerequisites
14:25:08  [main]    All prerequisites found
14:25:08  [main]    Initializing Modules
14:25:08  [filezilla]    FileZilla Service detected with wrong path
14:25:08  [filezilla]    Change XAMPP FileZilla settings or
14:25:08  [filezilla]    Uninstall/disable the other service manually first
14:25:08  [filezilla]    Found Path: ERROR: Not Able To Open Service Manager
14:25:08  [filezilla]    Expected Path: "c:\xampp\FileZillaFTP\filezillaserver.exe"
14:25:08  [filezilla]    Problem detected!
14:25:08  [filezilla]    Port 21 in use by "filezillaserver.exe"!
14:25:08  [filezilla]    FileZilla WILL NOT start without the configured ports free!
14:25:08  [filezilla]    You need to uninstall/disable/reconfigure the blocking application
14:25:08  [filezilla]    or reconfigure FileZilla to listen on a different port
14:25:08  [filezilla]    Problem detected!
14:25:08  [filezilla]    Port 14147 in use by "filezillaserver.exe"!
14:25:08  [filezilla]    FileZilla WILL NOT start without the configured ports free!
14:25:08  [filezilla]    You need to uninstall/disable/reconfigure the blocking application
14:25:08  [filezilla]    or reconfigure FileZilla to listen on a different port
14:25:08  [main]    Starting Check-Timer
14:25:08  [main]    Control Panel Ready
14:25:12  [Apache]    Attempting to start Apache app...
14:25:12  [Apache]    Status change detected: running
14:25:19  [mysql]    Attempting to start MySQL app...
14:25:23  [mysql]    Status change detected: running



Thank you for any help you can provide me.
PeterNMcArthur
 
Posts: 1
Joined: 22. January 2013 15:29
Operating System: Windows 7

Re: PHP scripts won't compile

Postby hackattack142 » 30. January 2013 00:21

Hello,

Are you using the short open tags (<? ?> as opposed to <?php ?>)? Those tags are turned off by default and that shortcut is discouraged.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 703
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 38 guests