xampp

php start_session() isnt working for localhost

I just started making this .php file and i cant seem to figure out why its throwing this warning Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Program Files\xampplite\htdocs\projectchest\controlpanel\index.php:1) in C:\Program Files\xampplite\htdocs\projectc...

NetBeans PHP does not break on exception

I'm trying to debug some PHP using NetBeans PHP 6.8 with XAMPP on Windows and setup xdebug in php.ini. The step by step seem working fine but when there is a critical exception on the website in the PHP, NetBeans doesn't break on it. I heard about adding a break-point on Exception but I couldn't find it in NetBeans 6.8. The Ctrl + Shift...

sendmail() php help

Hi I am getting an error while sending a mail from a form Failed to connect to mailserver at "mail.yoursite.com" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\xampp\htdocs\send.php on line 8 Warning: mail() [function.mail]: SMTP server response: 550 ACCESS DENIED in C:\xampp\xampp\htdocs...

XAMPP + Perl + PHP. Not sure how to run Perl script.

This is very stupid but I seem to be completely lost trying to test a Perl command-line application with XAMPP. I downloaded the 'ExifTool by Phil Harvey' and extracted the files in a folder within htdocs with an index.php in it, in which I hope to set up a PHP interface to the functionalities provided by ExifTool. Actually I can't even ...

Configuring LAMP Environment in Linux Mint using XAMPP- installing Memcache

Hi, Okies, I have successfully installed the XAMPP and added virtual hosts and am able to make database calls and stuff. The problem I am facing is while trying to enable the memcache module. Currently trying to configure using these links. http://theindexer.wordpress.com/2008/06/02/installing-a-lamp-stack-on-linux-using-xampp-for-li...

codeigniter not running in xampp 1.7.3(Cant load class)

it was well and fine when i was xampp 1.7.2. When installed xampp 1.7.3 and run my site from localhost, it shows load->database(); $this->load->helper(‘url’); $this->load->helper(‘html’); } function entry_insert() { $data1 = $this->upload->data(); //echo $data[‘file_name’]; $data = array( ‘user_id’=> $this->session->userdata(‘id’,TRU...

xampp where i need to deploy .ds file in apache tomcat server

Hi, normally i used jboss server to run java application.but my requirement is i need to run thi project in tomcat server.so i copy my war file in to tomcat-->webapps folder. application is not connecting to database.i am using mysql,so in jbos server there is folder called server-->default-->deploy there i need to copy ds file but in to...

Shared Apache / MySQL / PHP setup on multiboot

In short: I have a multiboot machine with Win XP, Windows 7 and Ubuntu, and I would like my localhost web projects to be shared by all three OSes. Details: I finally want to get rid of Windows XP for my web development work, but my local Apache + PHP + MySQL stack is tied to my old OS, and I spent some time and thinking to tweak this se...

MySQL/phpMyAdmin freezes from DELIMITER

Running this procedure causes MySQL (or phpMyAdmin) to freeze. I have to stop MySQL with from XAMPP command, which freezes and "is not responding" about 20 seconds before stopping. I believe this is caused by the delimiter command, which on it's own begins the problems. I have tried using a different delimiter ("//") to no effect. Any h...

CodeIgniter form submit redirects to localhost

I have a CodeIgniter project with a very simple test application. Controller opens a view (PHP page) which has a text box and a submit button. When I press the submit button, instead of redirecting to the appropriate function call in the controller, I get redirected to localhost/xampp. here's the code on my view, which SHOULD be redire...

Trouble with using Joomla templet with XAMPP 1.7.2 which has PHP 5.3.0 in mac os x

Hi! I am using a joomla templet with XAMPP 1.7.2 which has PHP 5.3.0 in mac os x 10.5.7 i am having lots of trouble like Deprecated: Function eregi() is deprecated in /Applications/XAMPP/xamppfiles/htdocs/templet01/plugins/system/tbox.php on line 98 Joomla itself is not functioning properly. Please help. -Daniel ...

XAMPP Apache server not working on internal network

I have XAMPP installed on my local laptop (Vista) and it works fine. Apache and MySQL are running as services, and I can get to both http://localhost/ and http://192.168.2.2/ without any hassles. However, if I try accessing the server from another laptop on my internal network by typing in the http://192.168.2.2/ ip address, it errorsti...

Fatal error: Maximum execution time of 400 seconds exceeded

Hi, I have a PHP script that fails when executing a long mysq_query. The error message is: Fatal error: Maximum execution time of 400 seconds exceeded in.... I use XAMPP for windows and I have changed the php.ini file (there is only one in my installation), setting max_execution_time to a large value that is not 400 seconds. Neverthel...

How can I remove the index.php for Konana based on Win OS?

Hi my dev environment like this, Winxp pro; Kohana v3.03; XAMPP Windows 1.7.3; I followed the wiki guide to remove index.php file http://kerkness.ca/wiki/doku.php?id=removing_the_index.php But when i try to rename example.htaccess to .htaccess . Windows alert "you must type a file name"... Is there any solution about it? Appreciate...

Xampp. Php script displays a blank page!

The php script is calling four functions that scrape different websites for data. $returnData[0]=getWebsite1Data($description); $returnData[1]=getWebsite2Data($description); $returnData[2]=getWebsite3Data($description); $returnData[3]=getWebsite4Data($description); The script displays the web-page correctly if I disable the call to an...

Xampp / Wamp / Whatever it is, Apache is running super slow...

I've got my windows pc (localhost) running xampp, it loads the pages sometimes really quick or sometimes really slow... So I figured and searched and was recommended to get wamp. So I got that and installed it, still... the pages load so damn slowly. No heavy cpu load or anything, all my ports are open too. Any ideas? ...

Can't use Xdebug to debug Code Igniter App using Netbeans 6.8 IDE

Hello guys. I can't use Xdebug to debug a application built with Code Igniter, but i can use it to debug any other PHP file as long it doesn't use the same Structure for url solving that Code Igniter uses. Meaning: In a simple PHP file with no Code Igniter, when i use NetBeans debugging the browser goes to: http://localhost:86/index.ph...

Upgrading PHP in XAMPP for Windows?

Hi, I would like to know how you upgrade PHP in Xampp for Windows? I tried to download the latest PHP version from the main PHP site but when I check (phpinfo) I still get that the previous version is still in use. Please advise. Thanks ...

Installing Xdebug for PHP on Ubuntu with XAMPP

I'm running XAMPP 1.7.3a on Ubuntu 9.10. With Netbeans 6.7.1 as my editor, I want to be able to debug my PHP sites. To do this, I looked up Xdebug and started following the installation instructions, found here: http://xdebug.org/docs/install. Trying to compile the .tgz file, run in to a problem. Step 3) I can execute that, but what u...

How to connect XAMPP MySQL local DB using JDBC?

I have this Tetris game written in Java, which uses DB to record high scores. It worked ok as long as I was using remote MySQL DB, but now I'm trying to set up localhost DB using XAMPP MySQL and it keeps going like "SQLException: Communications link failure" at command: con = java.sql.DriverManager.getConnection("jdbc:mysql://localhost/...