call to undefined function mysql_connect()
Try checking to see if the PHP MySQL extension module is being loaded:
<?php
phpinfo();
?>
If it's not there, add the following to the php.ini file:
extension=php_mysql.dll
Save and Restart You Apache HTTP Serversudo apt install php-mysqliIn case, you are using PHP7 already, the formerly deprecated functions
mysql_* were removed entirely, so you should update your code using the
PDO-functions or mysqli_* functions instead.
If that's not possible, as a workaround, rubo77 created a small PHP include
file, that recreates the old mysql_* functions with mysqli_*()-functions:
https://github.com/rubo77/php-mysql-fix
Also in PHP:
- create seeder in laravel
- base64_decode online php
- datetime object to string php
- count elements of a string php
- @if($success->any())
- catch error exception php
- ci4 throw new exception
- console.log function in php
- create orphan token in vault
- contains string php
- codeigniter db insert return id
- convert php array to javascript json laravel
- ajax post example php
- date + 1 day in php
- create a lrandom string alphanumeric php
- check if number is divisable by 3 php
- clear all cache laravel server
- date('y-m-d:h-s-s'
- clear file cache laravel
- error log all php
- create project via composer
- contact ip address using php
- +1 day in date php
- create a class in php