php openssl无法定位序数,求大神看下

图片说明

目前已试了将wamp2\bin\php\php5.3.10下的ssleay32.dll、libeay32.dll、php_openssl.dll,复制到c:/window/system32/下了,复制后重启了wamp,但运行openssl.exe还是报这个错

1个回答

你php的dll对应的版本跟openssl用到的dll版本是一致的吗?

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
win10+vs2017安装openssl出现错误,求大神解答。

因为要写RSA,需要安装OpenSSL。不过在编译运行nmake -f ms\ntdll.mak过程中出现错误,百度了也没解决,所以希望大神能给与帮助,谢谢! 错误如下: cryptlib.c tmp32dll\e_os.h(156): error C2220: 警告被视为错误 - 没有生成“object”文件 tmp32dll\e_os.h(156): warning C4005: “EADDRINUSE”: 宏重定义 C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt\errno.h(84): note: 参见“EADDRINUSE”的前一个定义 .\crypto\cryptlib.c(729): warning C4996: 'GetVersion': 被声明为已否决 C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um\sysinfoapi.h(184): note: 参见“GetVersion”的声明 NMAKE : fatal error U1077: “F:\vs2017\VC\Tools\MSVC\14.12.25827\bin\HostX86\x86\cl.EXE”: 返回代码“0x2” Stop. 应该怎么解决,希望能详细点,麻烦了! (百度找到一个方法不知可不可行: 打开errno.h文件,找到第92行,注释掉#define EADDRINUSE 100 但找不到errno.h在哪,如果可行的话麻烦告知文件位置,谢谢!)

windows下用nmake编译openssl出错,求大神帮忙呀

![图片说明](https://img-ask.csdn.net/upload/201606/07/1465284105_890757.png) 始终编译这个错,编译不过去,求大神解答

关于百度播放SDK的openssl版本问题,跪求大神

如题 我在用百度播放SDK的时候 OpenSSL版本出现了问题 ,在上传谷歌市场的时候 说我的OpenSSL版本过低。哪位大神有遇到过? 该如何解决呢???? 跪求

在php-fpm服务器上进行openssl版本检查和升级

<div class="post-text" itemprop="text"> <p>I have a server where php scripts are served by php-fpm and when I see phpinfo file, openSSL version is - OpenSSL/0.9.8b and if I log into the terminal and see - it is OpenSSL 1.0.2o 27 Mar 2018.</p> <p>I have a script which I run only through terminal. <code>php box.php</code> when I run this, which openSSL version would be picked?. </p> </div>

无法用PHP openssl_sign签署任何内容?

<div class="post-text" itemprop="text"> <p>I am attempting to use PHP-DKIM to send DKIM signed emails. Its a little old so I've had to change some things, but this stumps me:</p> <pre><code>Warning: openssl_sign() [function.openssl-sign]: supplied key param cannot be coerced into a private key in /.../pages/user/dkim.php on line 66 Cannot sign </code></pre> <p>Relevant section of code (note I've added the $pkeyid, originally the private key was just passed straight to the <code>open_ssl</code> function which also didn't work)</p> <pre><code>$pkeyid = openssl_get_privatekey($open_SSL_priv); if (openssl_sign($s, $signature, $pkeyid)) return base64_encode($signature) ; else die("Cannot sign") ; </code></pre> <p>So obviously something really bad is going on here. However I know my private key and public key are valid. I even tried the example key provided in the <a href="http://www.php.net/manual/en/function.openssl-sign.php#77571" rel="nofollow">comments for <code>openssl_sign</code></a> which didn't work</p> <pre><code>$open_SSL_pub=&lt;&lt;&lt;EOD -----BEGIN PUBLIC KEY----- MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANDiE2+Xi/WnO+s120NiiJhNyIButVu6 zxqlVzz0wy2j4kQVUC4ZRZD80IY+4wIiX2YxKBZKGnd2TtPkcJ/ljkUCAwEAAQ== -----END PUBLIC KEY----- EOD; $open_SSL_priv=&lt;&lt;&lt;EOD -----BEGIN RSA PRIVATE KEY----- MIIBOgIBAAJBANDiE2+Xi/WnO+s120NiiJhNyIButVu6zxqlVzz0wy2j4kQVUC4Z RZD80IY+4wIiX2YxKBZKGnd2TtPkcJ/ljkUCAwEAAQJAL151ZeMKHEU2c1qdRKS9 sTxCcc2pVwoAGVzRccNX16tfmCf8FjxuM3WmLdsPxYoHrwb1LFNxiNk1MXrxjH3R 6QIhAPB7edmcjH4bhMaJBztcbNE1VRCEi/bisAwiPPMq9/2nAiEA3lyc5+f6DEIJ h1y6BWkdVULDSM+jpi1XiV/DevxuijMCIQCAEPGqHsF+4v7Jj+3HAgh9PU6otj2n Y79nJtCYmvhoHwIgNDePaS4inApN7omp7WdXyhPZhBmulnGDYvEoGJN66d0CIHra I2SvDkQ5CmrzkW5qPaE2oO7BSqAhRZxiYpZFb5CI -----END RSA PRIVATE KEY----- EOD; </code></pre> <p>I'm at a loss of what to do. OpenSSL "0.9.8e-fips-rhel5 01 Jul 2008" is installed and active in PHP. Both the key I generated and that key are known working. So why does <code>openssl_sign</code> keep failing?</p> </div>

在Ubuntu中使用PHP openssl

<div class="post-text" itemprop="text"> <p>I have created a web app which uses PHPMailer for mailing and its working properly on my local server(Windows OS). However, when I uploaded it to the production server(Ubuntu 14.04.4) it returned an error which says <strong><em>“Message could not be sent.Mailer Error: Extension missing: openssl”</em></strong>.I tried looking for solution but nothing works. Anyway I'm using PHP5.3.6. I hope you guys can help me.</p> </div>

Mac Yosemite,PHP激活openssl扩展

<div class="post-text" itemprop="text"> <p>I have installed PHP 5.5.14.</p> <p>I'm starting to use Yii2, the whole installation process using "composer" working properly.</p> <p>The problem arises when I access "<a href="http://localhost/basic/web/" rel="nofollow">http://localhost/basic/web/</a>" to validate the installation and project creation.</p> <p>At this point an error:</p> <p><strong>PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20121212/php_openssl.dll' - dlopen (/ usr / lib / php / extensions / no-debug-non- zts-20121212 / php_openssl.dll, 9): image not found</strong></p> <p>I'm trying to figure out how to properly activate this librearia.</p> <p>I enabled the extension in the php.ini file, but no luck.</p> <p>Do not know how to fix it :(</p> <p>Thank You!</p> </div>

在CentOS上用OpenSSL重新编译PHP

<div class="post-text" itemprop="text"> <p>I have upgraded openssl version to <code>1.02l</code> from <code>1.0.1e</code> and PHP version from PHP <code>5.6</code> to <code>PHP 7.1.8</code> (PHP is installed using yum)</p> <p>The problem is, PHP still detects openssl version to <code>1.0.1e</code> whereas I want it to be updated to latest openssl version installed i.e <code>1.0.2l</code></p> <p>I want to know what are my options here, how do I go about telling PHP to use the latest installed openssl version?</p> <p>My finding tells me that the only way to do it is by recompiling PHP? (will appreciate if someone can tell me if there is other way) If the only way is by recompiling, I need help on how to go about it? what are the steps involved. From my understanding, here is how I think I have to do.</p> <ul> <li>Remove PHP version installed from YUM</li> <li>Download latest version of PHP from source and unzip in tmp directory</li> <li>Compile &amp; Install PHP</li> </ul> <p>Am I missing anything here?</p> <p>** <strong>UPDATE</strong> **</p> <p>Here are the list of php extensions installed using yum</p> <pre><code> php-bcmath x86_64 7.1.8-1.el7.remi @remi-php71 94 k php-common x86_64 7.1.8-1.el7.remi @remi-php71 7.9 M php-fedora-autoloader noarch 0.2.1-2.el7 @epel 14 k php-gd x86_64 7.1.8-1.el7.remi @remi-php71 204 k php-intl x86_64 7.1.8-1.el7.remi @remi-php71 947 k php-json x86_64 7.1.8-1.el7.remi @remi-php71 80 k php-mbstring x86_64 7.1.8-1.el7.remi @remi-php71 2.8 M php-mysqlnd x86_64 7.1.8-1.el7.remi @remi-php71 850 k php-pdo x86_64 7.1.8-1.el7.remi @remi-php71 386 k php-pecl-zip x86_64 1.13.5-2.el7.remi.7.1 @remi-php71 175 k php-php-gettext noarch 1.0.12-1.el7 @epel 57 k php-process x86_64 7.1.8-1.el7.remi @remi-php71 180 k php-tcpdf noarch 6.2.13-1.el7 @epel 11 M php-tcpdf-dejavu-sans-fonts noarch 6.2.13-1.el7 @epel 1.5 M php-tidy x86_64 7.1.8-1.el7.remi @remi-php71 106 k php-xml x86_64 7.1.8-1.el7.remi @remi-php71 851 k </code></pre> <p>I now want to configure PHP to use this extensions, so far I have comeup with following</p> <pre><code>./configure --with-openssl --with-openssl-dir=/usr/bin \ --with-zlib \ --enable-zip \ --enable-xmlreader \ --enable-xmlwriter \ --enable-opcache \ --enable-simplexml \ --with-sqlite3 \ --with-pdo-sqlite \ --with-pdo-mysql=mysqlnd \ --with-mysqli=mysqlnd \ --with-mysql-sock=/var/lib/mysql/mysql.sock \ --enable-mysqlnd \ --with-mcrypt \ --enable-mbstring \ --enable-intl \ --with-png-dir \ --with-jpeg-dir \ --enable-gd-native-ttf \ --with-gd \ --with-curl \ --with-bz2 \ --enable-bcmath </code></pre> <p>I just want to know now, If I need to enable any extension from above list do I use --enable or --with ? for example how do I enable php-xml. Do I only use --enable-php-xml ?</p> </div>

无法加载动态库openssl.so

<div class="post-text" itemprop="text"> <p>I just set up PHP and Apache on a Mac 10.8 localhost. So far it works fine. I am now installing Symfony2. When I run the Composer install command, I get the following error :</p> <pre><code>$ curl -s http://getcomposer.org/installer | php #!/usr/bin/env php Some settings on your machine make Composer unable to work properly. Make sure that you fix the issues listed below and run this script again: The openssl extension is missing, which means that secure HTTPS transfers are impossible. If possible you should enable it or recompile php with --with-openssl </code></pre> <p>I uncommented the following line in php.ini :</p> <pre><code>extension=php_openssl.dll </code></pre> <p>But I still get the same error, preceded by this message :</p> <pre><code>PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/php_openssl.dll' - dlopen(/usr/local/lib/php/extensions/no-debug-non-zts-20131226/php_openssl.dll, 9): image not found in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/php_openssl.dll' - dlopen(/usr/local/lib/php/extensions/no-debug-non-zts-20131226/php_openssl.dll, 9): image not found in Unknown on line 0 </code></pre> <p>There's no openssl.so file in my /usr/local/lib/php/extensions/no-debug-non-zts-20131226/ folder indeed. I tried reinstalling php but it made no difference. I googled for hours yet I couldn't find a way to recompile php with --with-openssl. Any help would be of great value.</p> </div>

PHP:使用openSSL加密和解密时出错

<div class="post-text" itemprop="text"> <p>I've been trying to make two PHP pages, one to encrypt and one to decrypt.</p> <p>The code for the encrypting page:</p> <pre><code>&lt;form action="encrypt.php" method="post"&gt; &lt;input type="text" name="data"&gt; &lt;input type="submit"&gt; &lt;/form&gt; &lt;?php if($_SERVER["REQUEST_METHOD"] == "POST") { $config = array( "digest_alg" =&gt; "sha512", "private_key_bits" =&gt; 4096, "private_key_type" =&gt; OPENSSL_KEYTYPE_RSA, ); $keys = openssl_pkey_new($config); openssl_pkey_export($keys, $privKey); $pubKey = openssl_pkey_get_details($keys); $pubKey = $pubKey["key"]; require "openssl.php"; openssl_public_encrypt($_POST["data"],$encrypted, $pubKey); echo $encrypted; echo "&lt;br&gt;&lt;br&gt;"; echo $privKey; } ?&gt; </code></pre> <p>And this is the code for decrypting:</p> <pre><code>&lt;form action="decrypt.php" method="post"&gt; Encrypted Text: &lt;textarea name="encrypted" rows="10" cols="100"&gt;&lt;/textarea&gt;&lt;br&gt;&lt;br&gt; Key: &lt;textarea name="key" rows="10" cols="100"&gt;&lt;/textarea&gt;&lt;br&gt; &lt;input type="submit"&gt; &lt;/form&gt; &lt;?php if($_SERVER["REQUEST_METHOD"] == "POST") { openssl_private_decrypt($_POST["encrypted"],$decrypted,$_POST["key"]); echo $decrypted; } ?&gt; </code></pre> <p>It seems to encrypt the data just fine, but when I try to decrypt using the other page, a get an error:</p> <blockquote> <p>openssl_private_decrypt() [function.openssl-private-decrypt]: key parameter is not a valid private key</p> </blockquote> <p>I copied and pasted the private key directly from the output of the encrypting file. Why am I getting an error?</p> </div>

如何在wamp环境下打开openssl扩展?

在Windows 8.1系统上安装了独立环境,按下面的步骤进行了操作,但是openssl还是disabled。该如何解决??? 1将php安装目录下ext下的php_openssl.dll、libeay32.dll、ssleay32.dll 、php_xmlrpc.dll、php_curl.dll文件复制到windows下的system或者system32文件夹中。 2将php.ini复制到windows文件夹中,打开php.ini,将“;extension=php_openssl.dll”等一些列拓展前面分号去掉; 3重启IIS或者Apache,或者其他web服务器 服务器!

php7.1.23 怎么开启openssl扩展

网上找的方法基本都试了搞了大半天了没用,去掉注释,php_openssl.dll, ssleay32.dll, libeay32.dll往C盘和apache复制,这些之类的全都试过了

使用golang解密使用php openssl_encrypt加密的文件

<div class="post-text" itemprop="text"> <p>First of all. I'm on thin ice here!</p> <p>I have a encrypted file that I get from php. I'm trying to decrypt this with golang. </p> <p>The php application uses a public RSA key to encrypt the key used to encrypt with aes-256-cbc.</p> <p>I've created some proof of concept code, but I can't get it right. Even though key and iv look correct on both sides there is something that is not. The result is just garbage. I'm suspecting either some encoding mismatch (expecting base64, getting string bytes...something) or that I've misunderstood some concept.</p> <p>Encrypting:</p> <pre><code>&lt;?php $cipher = "AES-256-CBC"; $ivLength = openssl_cipher_iv_length($cipher="AES-256-CBC"); echo "iv len: " . $ivLength . " "; $iv = openssl_random_pseudo_bytes($ivLength); $key = "1234567890abcdef"; $ciphertext = openssl_encrypt("hello world", $cipher, $key, 0, $iv); $publicKey = openssl_pkey_get_public(file_get_contents("some-public-key.pub")); if (!$publicKey) { die("OpenSSL: Unable to get public key for encryption. Is the location correct? Does this key require a password?"); } $ok = openssl_public_encrypt($key, $encryptedKey, $publicKey); if (!$ok) { die("Encryption failed. Ensure you are using a PUBLIC key."); } echo "key unencrypted: " . $key . " "; echo "iv: " . base64_encode($iv) . " "; echo "ciphertext: " . $ciphertext . " "; echo "ciphertext binary: " . (base64_decode($ciphertext)) . " "; echo "combined: " . ($iv . $ciphertext) . " "; file_put_contents("key.enc", $encryptedKey); file_put_contents("content.enc", $iv . $ciphertext); file_put_contents("content.dec", openssl_decrypt($ciphertext, $cipher, $key, 0, $iv)); openssl_free_key($publicKey); ?&gt; </code></pre> <p>Decrypting:</p> <pre><code>package main import ( "crypto/aes" "crypto/cipher" "crypto/rand" "crypto/rsa" "crypto/x509" "encoding/base64" "encoding/hex" "encoding/pem" "fmt" "io" "io/ioutil" "log" ) func main() { // Read the input file in, err := ioutil.ReadFile("key.enc") if err != nil { log.Fatalf("input file: %s", err) } // Read the private key pemData, err := ioutil.ReadFile("some-private-key") if err != nil { log.Fatalf("read key file: %s", err) } // Extract the PEM-encoded data block block, _ := pem.Decode(pemData) if block == nil { log.Fatalf("bad key data: %s", "not PEM-encoded") } if got, want := block.Type, "RSA PRIVATE KEY"; got != want { log.Fatalf("unknown key type %q, want %q", got, want) } // Decode the RSA private key priv, err := x509.ParsePKCS1PrivateKey(block.Bytes) if err != nil { log.Fatalf("bad private key: %s", err) } // Decrypt the data cipherKey, err := rsa.DecryptPKCS1v15(rand.Reader, priv, in) if err != nil { log.Fatalf("decrypt: %s", err) } fmt.Println("Key decrypted:", string(cipherKey)) // Read encrypted content file content, err := ioutil.ReadFile("content.enc") if err != nil { log.Fatalf("input file: %s", err) } fmt.Println("Cipherkey: ", string(cipherKey)) cipherText := content cipherBlock, err := aes.NewCipher(cipherKey) if err != nil { panic(err) } iv := cipherText[:aes.BlockSize] fmt.Println("iv:", base64.StdEncoding.EncodeToString(iv)) fmt.Println("ciphertext:", string(cipherText[aes.BlockSize:])) cipherText, _ = base64.StdEncoding.DecodeString(string(cipherText[aes.BlockSize:])) fmt.Println("ciphertext binary: ", string(cipherText)) // CBC mode always works in whole blocks. if len(cipherText)%aes.BlockSize != 0 { panic(fmt.Sprintf("ciphertext (len=%d) is not a multiple of the block size (%d)", len(cipherText), aes.BlockSize)) } mode := cipher.NewCBCDecrypter(cipherBlock, iv) mode.CryptBlocks(cipherText, cipherText) fmt.Printf("The result: %s ", cipherText) } </code></pre> <p>Here's some example output from executing this (first php, then go):</p> <pre><code>iv len: 16 key unencrypted: 1234567890abcdef iv: QffXbVRuwyopwwvQXQ8N6g== ciphertext: Wk8Gv1xQWikp1YryQiywgQ== ciphertext binary: ZO�\PZ))Պ�B,�� combined: A��mTn�*)� �Wk8Gv1xQWikp1YryQiywgQ== ----- Key decrypted: 1234567890abcdef Cipherkey: 1234567890abcdef iv: QffXbVRuwyopwwvQXQ8N6g== ciphertext: Wk8Gv1xQWikp1YryQiywgQ== ciphertext binary: ZO�\PZ))Պ�B,�� The result: ��2��J���~A�D </code></pre> </div>

php.ini文件 - openssl

<div class="post-text" itemprop="text"> <p>in php.ini file </p> <p>there is a line like that</p> <pre><code> extension=php_openssl.dll </code></pre> <p>which define OpenSSL</p> <p>but there is one more line which is header of this extension something like that</p> <p>[PHPOpenSSL]</p> <p>what was it ? what was this[text] ty</p> </div>

如何修复PHP中的openssl_private_decrypt()错误?

<div class="post-text" itemprop="text"> <p>I need finish this part of school project.</p> <p><strong>Create openssl public and private key</strong></p> <pre><code>function openssl($text){ # privaten Schlüssel erzeugen $res=openssl_pkey_new(); # privaten Schlüssel zu String openssl_pkey_export($res, $privatekey); # öffentlichen Schlüssel $publickey=openssl_pkey_get_details($res); $publickey=$publickey["key"]; openssl_public_encrypt($text, $crypttext, $publickey); $filenameCrypttext = "crypttext.txt"; $filenamePrivatekeyText = "privatekey.txt"; $files = [$filenameCrypttext, $filenamePrivatekeyText]; createFile($crypttext, $filenameCrypttext); createFile($privatekey,$filenamePrivatekeyText); downloadZip($files); } function createFile($crypttext, $filename){ file_put_contents($filename, $crypttext.PHP_EOL , FILE_APPEND | LOCK_EX); } function downloadZip($files){ $zipname = "packet.zip"; $zip = new ZipArchive; $zip-&gt;open($zipname, ZipArchive::CREATE); foreach ($files as $file){ $zip-&gt;addFile($file); } $zip-&gt;close(); foreach ($files as $file) { unlink($file); } header("Location: download.php?filename=$zipname"); } </code></pre> <p>I download my 2 files <em>crypttext.txt</em> and <em>privatekey.txt</em> as zip. Later I want to upload them.</p> <p><a href="https://pastebin.com/LAvGLdFf" rel="nofollow noreferrer"><strong>Encrypted</strong></a></p> <p><a href="https://pastebin.com/0awFyxQx" rel="nofollow noreferrer"><strong>Privatekey</strong></a></p> <p><strong>And the following code is my decryption function</strong></p> <pre><code>&lt;div class="container"&gt; &lt;br&gt; &lt;form action="&lt;?php echo $_SERVER['PHP_SELF']; ?&gt;" method="post"&gt; &lt;label&gt;Encrypted Text&lt;/label&gt; &lt;textarea name="encrypted_text" placeholder="Text einfügen" class="form-control" rows="3"&gt;&lt;/textarea&gt; &lt;label&gt;Private Key &lt;/label&gt; &lt;textarea name="private_key" placeholder="Text einfügen" class="form-control" rows="3"&gt;&lt;/textarea&gt; &lt;br&gt; &lt;button type="submit" class="btn btn-primary"&gt;Hochladen&lt;/button&gt; &lt;/form&gt; &lt;?php if(isset($_POST['encrypted_text'], $_POST['private_key'])){ echo 'isset'; $encrypted = $_POST['encrypted_text']; $privatekey = $_POST['private_key']; $res = openssl_get_privatekey($privatekey); openssl_private_decrypt($encrypted, $decrypted, $res); echo '&lt;br&gt;'; echo $decrypted; echo '&lt;br&gt;'; } ?&gt; </code></pre> <p></p> <p>I dont get a result. Where is my misstake?</p> </div>

openssl php RSA密钥生成错误,无法加密

$res = openssl_pkey_new(); @openssl_pkey_export($res,$pri); @$d= openssl_pkey_get_details($res); $pub = $d['key']; var_dump($pub); //为什么会输出空? $res = openssl_pkey_get_private($pri); if (@openssl_sign('hello', $out, $res)) { echo $out."<br>".base64_encode($out); } $sig = $out; $sig = base64_decode($sig); $res = openssl_pkey_get_public($pub); if (@openssl_verify('hello', $sig, $res) === 1) { echo "ok"; }else{ echo "flase"; }

PHPBrew - 在Ubuntu 18.04上使用openSSL安装php 5.3.2

<div class="post-text" itemprop="text"> <p>I am trying to install PHP 5.3.2 on Ubuntu 18.04 using PHPBrew. I have no trouble with installing it without OpenSSL but when I want to install OpenSSL I get several errors. </p> <p>My first attempt was to just use +openssl but then I got a lot of errors from OpenSSL. Then I installed OpenSSL 0.9.8 and used it as <code>+openssl=/usr/local/openssl/</code> and now I get the following error:</p> <p><code>configure: error: Cannot find OpenSSL's libraries</code></p> <p>I have no idea what libraries it can't find. I already fixed the missing <code>evp.h</code> file by making a symbolic link in <code>/usr/local/openssl</code> to <code>/usr/local/openssl/include/openssl/evp.h</code>.</p> </div>

php在错误的目录中查找openssl

<div class="post-text" itemprop="text"> <p>I have just downloaded php 7, I am on windows, I changed my environment path to where php is -&gt; c:\php7.3.4</p> <p>I enable openssl in the php.ini by uncommenting it, then i run php in bash I get an error that suggests its looking in the wrong folder</p> <p>here is the error</p> <blockquote> <p>PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: C:\p hp\ext\openssl (The specified module could not be found.), C:\php\ext\php_openss l.dll (The specified module could not be found.)) in Unknown on line 0</p> </blockquote> <p>Im not sure how to proceed to be honest, its looking in c:php instead of c:\php7.3.4</p> </div>

大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了

大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

程序员请照顾好自己,周末病魔差点一套带走我。

程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

点沙成金:英特尔芯片制造全过程揭密

“亚马逊丛林里的蝴蝶扇动几下翅膀就可能引起两周后美国德州的一次飓风……” 这句人人皆知的话最初用来描述非线性系统中微小参数的变化所引起的系统极大变化。 而在更长的时间尺度内,我们所生活的这个世界就是这样一个异常复杂的非线性系统…… 水泥、穹顶、透视——关于时间与技艺的蝴蝶效应 公元前3000年,古埃及人将尼罗河中挖出的泥浆与纳特龙盐湖中的矿物盐混合,再掺入煅烧石灰石制成的石灰,由此得来了人...

讲一个程序员如何副业月赚三万的真实故事

loonggg读完需要3分钟速读仅需 1 分钟大家好,我是你们的校长。我之前讲过,这年头,只要肯动脑,肯行动,程序员凭借自己的技术,赚钱的方式还是有很多种的。仅仅靠在公司出卖自己的劳动时...

上班一个月,后悔当初着急入职的选择了

最近有个老铁,告诉我说,上班一个月,后悔当初着急入职现在公司了。他之前在美图做手机研发,今年美图那边今年也有一波组织优化调整,他是其中一个,在协商离职后,当时捉急找工作上班,因为有房贷供着,不能没有收入来源。所以匆忙选了一家公司,实际上是一个大型外包公司,主要派遣给其他手机厂商做外包项目。**当时承诺待遇还不错,所以就立马入职去上班了。但是后面入职后,发现薪酬待遇这块并不是HR所说那样,那个HR自...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

我说我不会算法,阿里把我挂了。

不说了,字节跳动也反手把我挂了。

优雅的替换if-else语句

场景 日常开发,if-else语句写的不少吧??当逻辑分支非常多的时候,if-else套了一层又一层,虽然业务功能倒是实现了,但是看起来是真的很不优雅,尤其是对于我这种有强迫症的程序"猿",看到这么多if-else,脑袋瓜子就嗡嗡的,总想着解锁新姿势:干掉过多的if-else!!!本文将介绍三板斧手段: 优先判断条件,条件不满足的,逻辑及时中断返回; 采用策略模式+工厂模式; 结合注解,锦...

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

为什么你不想学习?只想玩?人是如何一步一步废掉的

不知道是不是只有我这样子,还是你们也有过类似的经历。 上学的时候总有很多光辉历史,学年名列前茅,或者单科目大佬,但是虽然慢慢地长大了,你开始懈怠了,开始废掉了。。。 什么?你说不知道具体的情况是怎么样的? 我来告诉你: 你常常潜意识里或者心理觉得,自己真正的生活或者奋斗还没有开始。总是幻想着自己还拥有大把时间,还有无限的可能,自己还能逆风翻盘,只不是自己还没开始罢了,自己以后肯定会变得特别厉害...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发(16k)

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

你打算用Java 8一辈子都不打算升级到Java 14,真香

我们程序员应该抱着尝鲜、猎奇的心态,否则就容易固步自封,技术停滞不前。

无代码时代来临,程序员如何保住饭碗?

编程语言层出不穷,从最初的机器语言到如今2500种以上的高级语言,程序员们大呼“学到头秃”。程序员一边面临编程语言不断推陈出新,一边面临由于许多代码已存在,程序员编写新应用程序时存在重复“搬砖”的现象。 无代码/低代码编程应运而生。无代码/低代码是一种创建应用的方法,它可以让开发者使用最少的编码知识来快速开发应用程序。开发者通过图形界面中,可视化建模来组装和配置应用程序。这样一来,开发者直...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

《经典算法案例》01-08:如何使用质数设计扫雷(Minesweeper)游戏

我们都玩过Windows操作系统中的经典游戏扫雷(Minesweeper),如果把质数当作一颗雷,那么,表格中红色的数字哪些是雷(质数)?您能找出多少个呢?文中用列表的方式罗列了10000以内的自然数、质数(素数),6的倍数等,方便大家观察质数的分布规律及特性,以便对算法求解有指导意义。另外,判断质数是初学算法,理解算法重要性的一个非常好的案例。

《Oracle Java SE编程自学与面试指南》最佳学习路线图(2020最新版)

正确选择比瞎努力更重要!

一文带你入门Java Stream流,太强了

两个星期以前,就有读者强烈要求我写一篇 Java Stream 流的文章,我说市面上不是已经有很多了吗,结果你猜他怎么说:“就想看你写的啊!”你看你看,多么苍白的喜欢啊。那就“勉为其难”写一篇吧,嘻嘻。 单从“Stream”这个单词上来看,它似乎和 java.io 包下的 InputStream 和 OutputStream 有些关系。实际上呢,没毛关系。Java 8 新增的 Stream 是为...

都前后端分离了,咱就别做页面跳转了!统统 JSON 交互

文章目录1. 无状态登录1.1 什么是有状态1.2 什么是无状态1.3 如何实现无状态1.4 各自优缺点2. 登录交互2.1 前后端分离的数据交互2.2 登录成功2.3 登录失败3. 未认证处理方案4. 注销登录 这是本系列的第四篇,有小伙伴找不到之前文章,松哥给大家列一个索引出来: 挖一个大坑,Spring Security 开搞! 松哥手把手带你入门 Spring Security,别再问密...

立即提问
相关内容推荐