xampp

php.ini file is available in xamp folder

喜欢而已 提交于 2019-12-25 01:44:41
问题 I am new to php and started running small codes in php .. Operating System- Windows Xp service pack 3 Xampp version - 1.7.3 netbeans- 6.5 for small codes such as upload etc are working perfectly, But when I try to send email said error message SMTP related .Then, I started surfing Google about errors , there I come to know about php.ini file in xampp. Different versions have different locations of this file in xampp only. There are 3 things I noticed... 1) xampp folder and subfolders does not

I cannot run apache [closed]

六月ゝ 毕业季﹏ 提交于 2019-12-25 00:15:52
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I installed xamp 1.8.1 and when I went to start Apache in the control panel, I pressed start and 2 seconds later it stops running. The control panel says this: 09:42:54 م [Apache] Error: Apache shutdown unexpectedly. 09:42:54 م [Apache] This may be due to a blocked port, missing dependencies, 09:42:54 م [Apache]

How to enable CORS from .htaccess (inside ZURB Foundation Project)

柔情痞子 提交于 2019-12-24 18:56:30
问题 So this is the first time I build a website in Full and my own, including front-end, back-end and database. I'm using the ZURB Foundation Framework (ZURB Template) which makes the project modular using Webpack4, Babel7 and Gulp (Taskrunner). Ive downloaded the latest portable XAMPP distribution for windows and run apache from it. So far, I definitely CAN get my backend to interact with my front-end. My apache is running on localhost:8099, I've set the Root to serve the respective directory

XAMPP tomcat service is not starting with error as “Tomcat Started/Stopped with errors, return code: 1”

大憨熊 提交于 2019-12-24 18:42:56
问题 I have installed XAMPP 7.2.10 on my Win 10 and other services like Apache and MySQL are working fine. But the Tomcat service is not starting and is throwing an error as: "Tomcat Started/Stopped with errors, return code: 1, Make sure you have Java JDK or JRE installed and the required ports are free, Check the "/xampp/tomcat/logs" folder for more information" XAMPP Tomcat error image I have installed Java JDK in "C:\Program Files\Java" and have set the environment variables path. I have set

Phpmyadmin cannot connect to mysql: 2054 - Connecting to 3.22, 3.23 & 4.0 servers is not supported

 ̄綄美尐妖づ 提交于 2019-12-24 18:32:03
问题 I've installed new XAMPP, version 1.8.1, it works, but I cannot connect from phpmyadmin to database. Message in error said that I had old mysql database. I downloaded version 5.5 and installed it and I get still this same error. In XAMPP apacha and mysql are started. When I installed mysql I was created password for root and I didn't created second user. Maybe samewhere in phpmyadmin configuration I should change password for the root too ? Error: Error MySQL said: Documentation 2054 -

include() function in PHP behaves differently on XAMPP update

余生颓废 提交于 2019-12-24 16:58:44
问题 My files structure are : / (Root) |-- includes |-- |-- global.php |-- |-- config.php |-- index.php In my index.php file I wrote : <?php include "includes/global.php"; ?> and in includes/global.php I wrote : <?php include "config.php"; ?> the global.php in index.php will be include whitout any problem but config.php in global.php will not be include ! I use XAMPP and in my old version of XAMPP (version 1.7.3) I don't have any problem but today I installed new version of XAMPP (version 1.8.1)

How to insert a record in MySQL with PHP with an HTML form

强颜欢笑 提交于 2019-12-24 15:31:19
问题 I have created a form in html and I would like that the dataentered in the form is sent to a mysql database in XAMMP. I created the database, the table and the connectivity.php file that manages the connection to the database and data entry, but when I try I get the following error: "Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\example\connectivity.php:8 Stack trace: #0 {main} thrown in C:\xampp\htdocs\example\connectivity.php on line 8" I post

XAMPP PhpStorm XDebug not stopping on breakpoints

試著忘記壹切 提交于 2019-12-24 15:26:48
问题 I have a Windows 7 machine with XAMPP(Apache 2.4.4 - Win32 PHP 5.4.16) and PHPStorm 6.0.3 For the life of me I cannot get XDebug working on this machine!! I look at my PHPInfo page: This tells me that I need to download XDebug "PHP 5.4 VC9 TS (64 bit)" I download and copy to produce: C:\xampp\php\ext\php_xdebug-2.2.3-5.4-vc9-x86_64.dll My PHP.ini has: [XDebug] zend_extension_ts = "C:\xampp\php\ext\php_xdebug-2.2.3-5.4-vc9-x86_64.dll" xdebug.profiler_append = 0 xdebug.profiler_enable = 1

PMA-SQL-ERROR while importing database

ぃ、小莉子 提交于 2019-12-24 15:13:04
问题 While importing database in xampp I get these errors SQL query: <!-- PMA-SQL-ERROR --> <div class="error"><h1>Error</h1> <p><strong>SQL query:</strong> <a href="db_sql.php?sql_query=SHOW+TABLE+STATUS+FROM+%60berty12_embrace%60+WHERE+Name+%3D+%27wp_pTC_logs%27&show_query=1&db=berty12_embrace&token=753b2640358f750ff66cbbe34e72abd6"><span class="nowrap"><img src="themes/dot.gif" title="Edit" alt="Edit" class="icon ic_b_edit" /> Edit</span></a> </p> <p> <code class="sql"><pre> SHOW TABLE STATUS

How do I start a new instance of PHP in Windows without it opening a new CMD window?

走远了吗. 提交于 2019-12-24 13:58:45
问题 I want multiple PHP processes to run in the background without disturbing the user. This is the code I have: exec("psexec -d php peak.php map/eline/updatedotrange first=$first last=$last filename=$filename > NUL 2> NUL"); But for every exec statement, a new CMD pops up. This kinda ruins it for me when I'm looping 100 times and running that line. Any way I can get the process to run in the background, without the user noticing? 回答1: I solved it using bgrun.exe http://www.jukkis.net/bgrun/ If